Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
This one has me stumped! I have a macro that at a certain point opens another workbook in order to copy some data into the current worksheet. However, it has suddenly started to stop running as soon as the workbook has opened. By 'stop' I mean literally that, the macro just stops running - no error message, Excel doesn't crash or any of the usual - the macro just stops. However, when I try putting a break point just before the line that opens the workbook and step through line by line it works fine. If the break point is just after this line then the macro stops before it gets to it. This started happening yesterday and re-booting did not help but shutting down overnight did seem to fix it for the first few attempts but it has no reverted to stopping again. Any help would be greatly appreciated! Thanks Andy |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sounds like it is expecting something to be active which isn't. Post the
code, sample data and highlight the problem area. -- HTH Bob Phillips "Andy" wrote in message ... Hi all This one has me stumped! I have a macro that at a certain point opens another workbook in order to copy some data into the current worksheet. However, it has suddenly started to stop running as soon as the workbook has opened. By 'stop' I mean literally that, the macro just stops running - no error message, Excel doesn't crash or any of the usual - the macro just stops. However, when I try putting a break point just before the line that opens the workbook and step through line by line it works fine. If the break point is just after this line then the macro stops before it gets to it. This started happening yesterday and re-booting did not help but shutting down overnight did seem to fix it for the first few attempts but it has no reverted to stopping again. Any help would be greatly appreciated! Thanks Andy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Bizarre XLA behaviour | Excel Discussion (Misc queries) | |||
Bizarre Excel 03 Problem - autosum not updating when cells are cha | Excel Worksheet Functions | |||
Bizarre MS EXCEL problem - files will not open via document ICONs | Excel Discussion (Misc queries) | |||
Bizarre Project Explorer in VBE | Excel Programming | |||
Bizarre and frustrating bug | Excel Programming |