LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 289 users online 225058 members 331 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Smoky
Favs: eragon I read anything
Mood: Happy
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
0 online / 0 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Quoting Post
Archived Topic: It will not be bumped to the top of the forum.
Topic VB HELP: Microsoft Word macros
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
blufindr Posted at 10:41 pm on May 18, 2008
and no, i don't just want to nest the macro code. :grin: i've been trying this for a while, and i can't find anything. i'm too newb at VB to understand the help file, or to know what to search for in it. any help would be greatly appreciated

Replies
blufindr Posted at 5:02 am on June 27, 2008
oooh... thanks i have worked it out, but my method was MUCH more complex and lengthy =\
scottyrob Posted at 4:50 am on June 27, 2008
To run a macro within another macro you can use the following code:

Code:

Sub Macro1()
'Macro code for Macro1 Goes here
Call Macro2
End Sub

Sub Macro2()
'Macro code for Macro2 Goes here
End Sub

Obviously you just need to change your code to fit in!
Hoep that helps.

All 2 previous replies displayed.