Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel PageBreaks(1).DragOff Feature
Message
From
02/07/2007 07:32:48
 
 
To
02/07/2007 06:46:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01237092
Message ID:
01237098
Views:
19
Celtin !

Thanks for your response. I had tried that before and even now but to no avail.
Mine goes like ;

"loxls.ActiveWorkbook.ActiveSheet.VPageBreaks(1).DragOff(xlToRight,1)"

I also tried;

"loxls.ActiveWorkbook.ActiveSheet.VPageBreaks(1).DragOff(-4161,1)"

I have included the Excel header file via #INCLUDE EXCEL9.H at the begining of the procedure that runs this code. I use Office 2000.

The Ole Error Code is 0x800a03ec (Unknown COM status Code)

However, typing Obj=loxls.ActiveWorkbook.ActiveSheet.VPageBreaks(1) at the error level results in an Oject variable

Did it work at your end ? if you haven't tried it, please do and give me the feedback

Fred Matano
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform