Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel constant
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Excel constant
Miscellaneous
Thread ID:
00899550
Message ID:
00899550
Views:
64
Hi, for the sample code below:

#define xlShiftUp -4162
oApp = GETOBJECT('', "Excel.Application")
oApp.Workbooks.Open('somefile.xls')
oApp.Rows("1:1").Delete(xlShiftUp)
....

How can I reference the xlShiftUp constant without defining it myself?
For example, oApp.xlShiftUp does not work...

Thanks,
David
Next
Reply
Map
View

Click here to load this message in the networking platform