Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Crash on every 2nd run
Gents,
I get the following behaviour: In a macro, I open a word doc, and close it again with the following code: 'open word document Dim infoDocument As Object Set infoDocument = CreateObject("Word.Basic") On Error Resume Next Set infoDocument = Word.Documents.Open(fileAddress,0, True, False) If Err.Number = 0 Then 'do some stuff 'Close the document |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Why does this macro crash? | Excel Discussion (Misc queries) | |||
VB Crash - Little Bit Of Fun | Excel Discussion (Misc queries) | |||
Filtering crash | Excel Discussion (Misc queries) | |||
Excel Crash - Help! | Excel Discussion (Misc queries) | |||
Crash | Excel Discussion (Misc queries) |