How do I create a macro containing document instructions?

  • Thread starter Thread starter Ken in OKC
  • Start date Start date
K

Ken in OKC

I'm sure this is possible and it is probably simple. I need a statement in a
message box to appear instructing users how to complete a particular
document. The instructions will likely be several sentences in length. Not
quite sure where to begin.
Thanks!
 
What type of document?
Which Word version?
Where and when do you want the message to appear?

Maybe something like the following, where the message you wish to impart is
sMsg

Sub PopUpAdvice()
Dim sMsg As String
Dim sVer As Integer
sMsg = "Refer to status line at bottom of screen for field entry details"
sVer = Application.Version
If sVer < 12 Then
Assistant.On = True
Set Balloon = Assistant.NewBalloon
With Balloon
.Text = sMsg
.Button = msoButtonSetOK
.Animation = msoAnimationBeginSpeaking
.Show
End With
Else
MsgBox sMsg
End If
End Sub

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top