View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Lene Fredborg Lene Fredborg is offline
external usenet poster
 
Posts: 1,291
Default Msg Box at end of Macro

Leave out the parenthesis:

MsgBox Prompt:="Verbiage Changed", Buttons:=vbOKOnly, Title:="Finished"

--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Karin" wrote:

Hi,

I'd like to put a message box at the end of a macro indicating that the
macro ran. Can someone help me, I keep getting compile errors.
(Expected =)

MsgBox(prompt:="Verbiage Changed", Buttons:=vbOkOnly, Title:="Finished")

TIA!