LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Make macro-button sheet reference relative

I have a button that calls a macro stored on a worksheet, so that when the
sheet is copied, the macro is copied with it. However, each time the sheet
is copied, the button in the new sheet retains a reference to the macro in
the old workbook. I have to manually right click on the button - Assign
Macro - Repoint to macro in current sheet. Is there a way to set up the
button so that it simply calls the macro stored in its parent sheet object
and not the workbook from which it was copied?

Thank-you
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I don't have the relative reference button . why? hutcher Excel Discussion (Misc queries) 1 March 23rd 07 01:05 AM
Recording new excel macro, relative reference button doesn't show Dano New Users to Excel 3 August 23rd 05 07:36 PM
RELATIVE REFERENCE BUTTON Neil Mark Excel Discussion (Misc queries) 2 February 22nd 05 07:27 AM
relative reference button kimd Excel Programming 3 August 6th 04 09:54 PM
relative reference button on end macro menu RobC[_2_] Excel Programming 4 March 2nd 04 09:24 PM


All times are GMT +1. The time now is 08:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"