Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Tue, 22 Jul 2008 15:19:30 +0800,    group: microsoft.public.word.word6-7macros        back       


Word macro in a saperate file   
Hi all,

I have created a macro which has 2 procedures (showCustomComboBox)one that 
take parameters and does some work and the other procedure (showMessage) 
just shows a message, this is now saved as .dot file into word startup 
folder.

Now i have a document in C:/temp folder with name temp.doc

I executed the command

"C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" C:/temp/temp.doc 
/mshowMessage

This is not working. Actually it has to show a message.

And also how can i run a macro like this by passing parameters.

Can anybody please suggest ASAP.

url:http://www.ureader.com/gp/1025-1.aspx
date: Tue, 22 Jul 2008 15:19:30 +0800   author:   kiran kumar

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us