Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Thrava
 
Posts: n/a
Default How to insert a Macro within a macro?

I have a sub Format()

and I want another macro called: AddRows()

To run in the middle of the sub Format()Macro.

What I did doesn't work.
I had Sub Format()
.....
.....

Sub AddRows()
End sub

.....
End Sub.

How can I do this?

  #3   Report Post  
thrava
 
Posts: n/a
Default

Ahhaah,
Thank you


-----Original Message-----
try

Sub Format()
stuff
call AddRows()
End sub


--
Don Guillett
SalesAid Software

"Thrava" wrote in

message
...
I have a sub Format()

and I want another macro called: AddRows()

To run in the middle of the sub Format()Macro.

What I did doesn't work.
I had Sub Format()
....
....

Sub AddRows()
End sub

....
End Sub.

How can I do this?



.

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
Insert date in macro George Gee New Users to Excel 12 April 17th 06 05:44 AM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM
Challenging Charting C TO Charts and Charting in Excel 0 January 17th 05 06:57 PM
Zip Code Macro Ken Wright Excel Worksheet Functions 0 December 9th 04 07:55 AM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM


All times are GMT +1. The time now is 12: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"