General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2000 Server
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
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