Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have two workbooks with a set of macros with the same names in each.
However the macros are not identical. When I attempt to execute macro "A" in workbook "A", Excel executes macro "A" from workbook "B" which creates problems. How can I direct Excel to the specific version of the macro I want to use? Thanks! Excel version 2007 running on Windows 7. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As ALWAYS post YOUR code for comments. Try
with activeworkbook -- Don Guillett Microsoft MVP Excel SalesAid Software "Pioneer1868" wrote in message ... I have two workbooks with a set of macros with the same names in each. However the macros are not identical. When I attempt to execute macro "A" in workbook "A", Excel executes macro "A" from workbook "B" which creates problems. How can I direct Excel to the specific version of the macro I want to use? Thanks! Excel version 2007 running on Windows 7. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Also, is there a reason why one of the macro names cannot be modified?
"Pioneer1868" wrote in message ... I have two workbooks with a set of macros with the same names in each. However the macros are not identical. When I attempt to execute macro "A" in workbook "A", Excel executes macro "A" from workbook "B" which creates problems. How can I direct Excel to the specific version of the macro I want to use? Thanks! Excel version 2007 running on Windows 7. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Add the number 2 onto the end of Workbook B macro's.
The macro's are different so name them differently. -- Thank you Aussie Bob C Little cost to carry knowledge with you. Win XP P3 Office 2007 on Mini Mac using VMware. "Pioneer1868" wrote: I have two workbooks with a set of macros with the same names in each. However the macros are not identical. When I attempt to execute macro "A" in workbook "A", Excel executes macro "A" from workbook "B" which creates problems. How can I direct Excel to the specific version of the macro I want to use? Thanks! Excel version 2007 running on Windows 7. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Making Macros Available in All Workbooks | Excel Worksheet Functions | |||
Macros available to several workbooks | Excel Programming | |||
Sharing Workbooks With Macros | Excel Programming | |||
Passing Macros Between Workbooks | Excel Programming | |||
Using VBA macros in all workbooks | Excel Programming |