Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've installed Excel 5 on Windows XP with Office XP installed as well. I'm
having a lot of trouble with various macro functionality. When I try to run a macro in Excel 5 that is not very basic I get the following message: 'Run-time error '1004'; Work03.xls: file format is not valid'. However if I have a very basic macro it will run. Another problem is that some auto-open macros run part way and then just stop without showign an error message. Has anyone out there tried the same? If so, have you run into similar problems? How were they resolved? Any suggestions will be greatly appreciated, Roger |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Roger,
Another problem is that some auto-open macros run part way and then just stop without showign an error message. Dunno about your other problem. I do know XL5 used to be picky about the length of code in Auto_Open. Best to break that by making a sub called ContinueOpen and have this single line in Auto_Open: Application.Ontime Now, "ContinueOpen" And no, calling another sub normally be direct reference is not enough... Regards, Jan Karel Pieterse Excel MVP www.jkp-ads.com |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jan, many thaks for your suggestion. I've been swamped so will now try
your suggestion. Thanks for the help. Roger In article , wrote: Hi Roger, Another problem is that some auto-open macros run part way and then just stop without showign an error message. Dunno about your other problem. I do know XL5 used to be picky about the length of code in Auto_Open. Best to break that by making a sub called ContinueOpen and have this single line in Auto_Open: Application.Ontime Now, "ContinueOpen" And no, calling another sub normally be direct reference is not enough... Regards, Jan Karel Pieterse Excel MVP www.jkp-ads.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 with two windows in Windows 7 | Excel Discussion (Misc queries) | |||
i want all windows in one excel frame (windows in taskbar) | Excel Discussion (Misc queries) | |||
cannot open exel from windows xp in windows vista and visa versa | New Users to Excel | |||
can windows vista edit shared document from windows xp | Excel Worksheet Functions | |||
Use Windows Script to run Windows Explorer Search? | Excel Programming |