N
Naz
Hi
I have a macro that copies some cells from Excel and pastes them into Word.
However, the code stops at this line
Set oXL = GetObject(, "Excel.Application")
and gives the message "ActiveX component can't create object"
But the macro works fine if i copy the module to the Normal document template.
Do i have to declare the application call differentetly if calling from
within a document.
All help is appreciated
I have a macro that copies some cells from Excel and pastes them into Word.
However, the code stops at this line
Set oXL = GetObject(, "Excel.Application")
and gives the message "ActiveX component can't create object"
But the macro works fine if i copy the module to the Normal document template.
Do i have to declare the application call differentetly if calling from
within a document.
All help is appreciated