Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You might try Edit, Links and change the link to point to the workbook
itself. -- Jim "Rob Kings" wrote in message ... | Apologies if this is an FAQ. I couldn't find an answer when I looked in | Google. | | Its difficult to explain, but here goes: | | 1. I have a workbook and on the some of the sheets in this workbook are | Autoshapes with macros assigned. | | 2. The VBA for the macros is in the sheet itself (rather than a module) | | 3. In code (from another Workbook) I copy the sheet into a new workbook (Be | that Book1 or whatever, it hasn't been saved yet) | | 4. The autoshapes don't work, because the Macro references are in the form | 'Originalworkbook'!Macroname | | However, 'Macroname' does exist. so how do I either: | | a) Use a form of words in the macro assignment so that it looks in the | current sheet | | b) Alter the assignments at runtime. | | Any ideas? | | Cheers | | Rob | | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to Fit AutoShape over Range? | Excel Discussion (Misc queries) | |||
autoshape macro | Excel Discussion (Misc queries) | |||
macro in vba to display autoshape | Excel Programming | |||
Remove macro from autoshape | Excel Programming | |||
AutoShape name assigned to macro | Excel Programming |