Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello, Excel 2003 and 2007. I have numerous macros in my spreadsheet and
have been forced to change the name of the worksheet and workbook over the past few weeks. Today I sent the worksheet out to others in my group and some of the macros refer directly to the pages within the workbook, but some of the macro's show the entire path (which doesn't esist anymore) and won't work. Does anyone have any ideas or know of a way to keep the macros references directly to the existing workbook, no matter where it's located. Thanks Bob R |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ok, since I didn't do a good enough job in explaining my problem, let me go
one more time. Is there a way, when using named cells or ranges in an Excel worksheet to ensure the reference stays with that worksheet and doesn't change? My example would be: First named range shows as Utility:!$R$232 subsequent ones show up as C:\Documents and Settings\rjr\desktop\Excelworksheet]!Utility!$R$232. and in my case the path, stays this way until I open and save it in another program on another computer and then I get the error's. They will change, depending on the workbook that I have open and then won't compute when the macro's are activated. Any help, questions or ideas are welcomed. Thanks BOB C:\Documents and Settings\RJR\ "BobR" wrote in message ... Hello, Excel 2003 and 2007. I have numerous macros in my spreadsheet and have been forced to change the name of the worksheet and workbook over the past few weeks. Today I sent the worksheet out to others in my group and some of the macros refer directly to the pages within the workbook, but some of the macro's show the entire path (which doesn't esist anymore) and won't work. Does anyone have any ideas or know of a way to keep the macros references directly to the existing workbook, no matter where it's located. Thanks Bob R |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro runs when workbook is saved, but only with vba change... | Excel Programming | |||
Macro to alert when workbook saved or updated?? Is this possible? | Excel Programming | |||
Problem in updating all worksheets of a workbook using a macro that calls another macro | Excel Programming | |||
How do you run macro automatically each time workbook is saved? | Excel Programming | |||
Run a macro each time a workbook is saved | Excel Programming |