#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Macro Help

I have created numerous macros in an Excel workbook. I have created
the following macro to run all macros at once.

Sub A_Run_CF_Sensitivities()
'
' A_Run_CF_Sensitivities Macro
Application.Run "'Model Kirby version macro.xlsm'!
CF_Copy_Original_Economics"
Application.Run "'Model Kirby version macro.xlsm'!CF_PricePerX"
Application.Run "'Model Kirby version macro.xlsm'!CF_PricePerX"
End Sub

This original workbook will be modified and saved as other workbooks
over time. I assumed that all macros would copy and work independent
of the original workbook. This is no the case. I am having a problem
because the macro above specifies only the macros in the original
workbook.

How can I write this command so that it will copy and run independent
as I copy the workbook as other workbooks? Thank you in advance for
the help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Macro Help

On Aug 5, 9:19*am, Kirby wrote:
I have created numerous macros in an Excel workbook. *I have created
the following macro to run all macros at once.

Sub A_Run_CF_Sensitivities()
'
' A_Run_CF_Sensitivities Macro
* * Application.Run "'Model Kirby version macro.xlsm'!
CF_Copy_Original_Economics"
* * Application.Run "'Model Kirby version macro.xlsm'!CF_PricePerX"
* * Application.Run "'Model Kirby version macro.xlsm'!CF_PricePerX"
End Sub

This original workbook will be modified and saved as other workbooks
over time. *I assumed that all macros would copy and work independent
of the original workbook. *This is no the case. *I am having a problem
because the macro above specifies only the macros in the original
workbook.

How can I write this command so that it will copy and run independent
as I copy the workbook as other workbooks? *Thank you in advance for
the help.


There is no good solution to this problem. Best bet would be to hire a
consultant to figure this one out. Good luck.
Reply
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
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 3 February 5th 07 08:22 PM
using a cell value to control a counter inside a macro and displaying macro value ocset Excel Worksheet Functions 1 September 10th 06 05:32 AM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 0 June 10th 05 03:38 PM


All times are GMT +1. The time now is 01:12 AM.

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

About Us

"It's about Microsoft Excel"