Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Automation Error
I have a process which generates Excel reports and formats them (well when it works it will). All goes well until i get to the following bit of code
With xlObj.worksheets(1).cells(1, 1) .Copy .PasteSpecial PASTE:=xlValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False .Font.size = 14 .Font.ColorIndex = 5 .Font.Bold = True End With at which point I get Automation Error. The server threw an exception. Any Ideas on what this means and how to overcome it? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Automation Error
You'd want to have dots starting every line of code:
..Copy etc. -- Jim "xlEnt" wrote in message ... | | I have a process which generates Excel reports and formats them (well | when it works it will). All goes well until i get to the following bit | of code | | With xlObj.worksheets(1).cells(1, 1) | Copy | PasteSpecial PASTE:=xlValues, Operation:=xlNone, | SkipBlanks:=False, Transpose:=False | Font.size = 14 | Font.ColorIndex = 5 | Font.Bold = True | End With | | at which point I get Automation Error. The server threw an exception. | | Any Ideas on what this means and how to overcome it? | | | -- | xlEnt |
#3
|
|||
|
|||
Quote:
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
XL - Oracle connection Error | Excel Discussion (Misc queries) | |||
Error on second pass of loop. | Excel Discussion (Misc queries) | |||
Problem Opening an Excel File MSO9.DLL Error | Links and Linking in Excel | |||
error "module not found" | Excel Discussion (Misc queries) | |||
#REF error | Excel Worksheet Functions |