Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2014, 11:22 PM
macropod's Avatar
macropod macropod is offline Macros for starting macroses Windows 7 64bit Macros for starting macroses Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,518
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default


You simply call them from the macro you want to run the from. For example:
Code:
Sub Main()
  Call Macro1
  Call Macro2("Hello World")
End Sub
 
Sub Macro1()
  MsgBox "Macro1 reporting for duty"
End Sub
 
Sub Macro2(strTxt As String)
  MsgBox strTxt
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macros for starting macroses starting a task at half day ketanco Project 3 05-13-2014 07:16 AM
Macros for starting macroses Sections starting on even page Eva Word 1 11-05-2011 01:20 PM
Macros for starting macroses Starting Word Problem GeorgeVoudouris Word 4 09-07-2011 03:39 AM
Macros for starting macroses Starting Over zoeshaus Outlook 4 06-16-2010 12:20 PM
Error Starting MS Help Renee Hendershott Office 0 01-22-2006 03:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft