I am still stuggling here.
I am pasting over many object from Excel into Word by using Excel's VBA.
xlHelp have kindly suggested I "activate" into Word to change the Orientation settings to Landscape (or vice versa). But, I am confuse on how to just only change the new page (created by page break) to a different orientation settings. Currently its changing the whole document!
ActiveDocument.Range(Start:=Selection.Start, End:=ActiveDocument. _
Content.End).PageSetup.Orientation = wdOrientLandscape
The above code is recorded macro, the 'Selection.Start' isn't quite right. Basically, I need a "SelectCurrentPage"
I am pasting over many object from Excel into Word by using Excel's VBA.
xlHelp have kindly suggested I "activate" into Word to change the Orientation settings to Landscape (or vice versa). But, I am confuse on how to just only change the new page (created by page break) to a different orientation settings. Currently its changing the whole document!
ActiveDocument.Range(Start:=Selection.Start, End:=ActiveDocument. _
Content.End).PageSetup.Orientation = wdOrientLandscape
The above code is recorded macro, the 'Selection.Start' isn't quite right. Basically, I need a "SelectCurrentPage"