Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have recorded a macro that creates and formats a chart in Excel 2000. I
need to run this macro in other workbooks with the same type of data. This macro also formats the raw data before creating the chart. When I run the macro it formats the data and creates the chart just fine. But when it starts to format the chart I get an error message "Run-time error '9': Subscript out of range". When I run the debugger a line containing the original sheet reference in another workbook is highlighted. How do I get rid of the specific reference so that the macro will run in other workbooks? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
post your code please
Regards Trevor "CAS" wrote in message ... I have recorded a macro that creates and formats a chart in Excel 2000. I need to run this macro in other workbooks with the same type of data. This macro also formats the raw data before creating the chart. When I run the macro it formats the data and creates the chart just fine. But when it starts to format the chart I get an error message "Run-time error '9': Subscript out of range". When I run the debugger a line containing the original sheet reference in another workbook is highlighted. How do I get rid of the specific reference so that the macro will run in other workbooks? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Global Macro Adding rows or colums to many Excel files at the same | Excel Discussion (Misc queries) | |||
Changing Cell Reference in a macro on global base | Excel Discussion (Misc queries) | |||
Global Macro | New Users to Excel | |||
Global changes to links | Charts and Charting in Excel | |||
Global formula | Excel Worksheet Functions |