MS Word VBO
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-05-21 12:40 PM
Hi All,
Hope you're well?
Quick question as I can't remember it offhand....
I am using the MS Word VBO to format a Word document (basically just opening it and then a quick format), however we've recently upgraded to v6.10 and I need the word document to set a Font size but also set up a page orientation as Landscape, as the file I am opening is Portrait.
How do I manage this? Can't seem to find the answer?
Kindest Regards,
Tom
Hope you're well?
Quick question as I can't remember it offhand....
I am using the MS Word VBO to format a Word document (basically just opening it and then a quick format), however we've recently upgraded to v6.10 and I need the word document to set a Font size but also set up a page orientation as Landscape, as the file I am opening is Portrait.
How do I manage this? Can't seem to find the answer?
Kindest Regards,
Tom
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-05-21 06:37 AM
Hello Tom,
A very quick way would be to simply add the below code stage in your Word VBO:
Dim doc as Object = GetDocument(handle,documentname)
doc.PageSetup.Orientation=1
1 is the value for Landscape, 0 for Portrait.
Regards
Harpreet
A very quick way would be to simply add the below code stage in your Word VBO:
Dim doc as Object = GetDocument(handle,documentname)
doc.PageSetup.Orientation=1
1 is the value for Landscape, 0 for Portrait.
Regards
Harpreet
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-05-21 07:03 AM
Hello Tom
I attached you a process and an extend version of the MS Word VBO object, that includes 2 new actions:
If you have any doubts. Feel free to contact me
I attached you a process and an extend version of the MS Word VBO object, that includes 2 new actions:
- Set Document Orientation
- Set Font Size
If you have any doubts. Feel free to contact me
