![]() |
EXCEL VB Macro Run Time Error 1004 - Setting ColorIndex
A macro developed and running ok under Offixe/XP prodcues
Run time error 1004 "Unable to set Colour Index for Interior Class" when the spreadsheet macro is run on a PC running XP but EXCEL prior to Office XP. I have beleive the problem VB statement a Set Rng = ActiveSheet.Range("B6:U55") Rng.Interior.ColorIndex = xlNone A work around would be appreciated. |
EXCEL VB Macro Run Time Error 1004 - Setting ColorIndex
|
EXCEL VB Macro Run Time Error 1004 - Setting ColorIndex
Is the sheet protected. No reason it shouldn't work on an unprotected
sheet. -- Regards, Tom Ogilvy "Erwin" wrote in message ... A macro developed and running ok under Offixe/XP prodcues Run time error 1004 "Unable to set Colour Index for Interior Class" when the spreadsheet macro is run on a PC running XP but EXCEL prior to Office XP. I have beleive the problem VB statement a Set Rng = ActiveSheet.Range("B6:U55") Rng.Interior.ColorIndex = xlNone A work around would be appreciated. |
EXCEL VB Macro Run Time Error 1004 - Setting ColorIndex
If the colour index is changed somewhere in the code , i.e it value is
cahnges, bit maybe that the value is too large, or small, excel, 97, has a range for charts of 0-60, i think! good luck ross |
All times are GMT +1. The time now is 06:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com