General information
Category:
Coding, syntax & commands
Hi
I have opened an excel spreadsheet using the code below.
copy to c:\Viewing_master type xls
temp_sheet = getobject('','excel.sheet')
XLApp = temp_sheet.application
XLApp.visible = .t.
XLApp.WorkBooks.open('c:\Viewing_master.xls')
XLApp.WindowState = 1 && Incase minimised
I have two questions,
1. This seems too simple, is there any checks or anything I have missed out?
2. What is the code to then set the pagesetup of this spreadsheet to landscape?
Thanks
Nicky
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only