#1   Report Post  
Posted to microsoft.public.excel.programming
max max is offline
external usenet poster
 
Posts: 8
Default Macros

Is it possible to start an Excel macro from within another Excel macro
so that one begins at the conclusion of the other?

  #2   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Macros

yes the syntax varies depending on where the other macro is located
if it's in the same workbook you can just type the name of the macro with
module name in front of it if you need it

sub sfsf()
'yourcode here
'end now call other macro
NEWMACRO
end sub
or

sub sfsf()
'yourcode here
'end now call other macro
module1.NEWMACRO
end sub

"max" wrote:

Is it possible to start an Excel macro from within another Excel macro
so that one begins at the conclusion of the other?


  #3   Report Post  
Posted to microsoft.public.excel.programming
max max is offline
external usenet poster
 
Posts: 8
Default Macros

Thanks.

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
weird saving of a document with macros resulting with macros being transfered to the copy alfonso gonzales Excel Programming 0 December 12th 04 09:19 PM
Macros inside macros, and pasting into macro code. pagelocator[_2_] Excel Programming 1 November 24th 04 09:11 AM
Open workbook-macros enabled, opening another with macros George J Excel Programming 5 September 17th 04 02:07 PM
Macro Size Limit / open macros with macros? andycharger[_7_] Excel Programming 6 February 13th 04 02:00 PM
Suppress the Disable Macros / Enable Macros Dialog Shoji Karai Excel Programming 5 September 24th 03 03:10 AM


All times are GMT +1. The time now is 06:31 PM.

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"