General information
Category:
COM/DCOM and OLE Automation
Yes, that would help, if an unknowing person tried it. Plus, unless the routine is short, I normally don't put in the Visible=.T. statement until after the routine is finished (unless I'm testing it). Otherwise, with intense automation, the process can really s-l-o-w down, due to screen refreshes (even in the background).
---Michael
>Your welcome Michael. Just for the record, the example was missing one line:
>
>oXL=createobject('excel.application')
>oXL.visible = .t.
>oXL.Workbooks.Add
>oXL.Range("A6").Select
>oXL.ActiveWindow.SelectedSheets.HPageBreaks.Add(oXL.ActiveCell)
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