D
David Rose
I have a document which is the minutes of a meeting. I have a macro, which
prompts for the meeting number, that I access numerous times during the
editing of the document. I want the prompt to appear only the first time
that the macro is run. The code I wrote is as follows:
Sub Indent()
Dim MtgNo As String
If MtgNo = "" Then
MtgNo = InputBox("Enter Meeting Number:")
End If
....rest of macro...
However, the prompt appears each time the macro is run. What's the fix?
TIA
David
prompts for the meeting number, that I access numerous times during the
editing of the document. I want the prompt to appear only the first time
that the macro is run. The code I wrote is as follows:
Sub Indent()
Dim MtgNo As String
If MtgNo = "" Then
MtgNo = InputBox("Enter Meeting Number:")
End If
....rest of macro...
However, the prompt appears each time the macro is run. What's the fix?
TIA
David