F
Fay Yocum
I bought David's book and I am trying to make something work using VBA.
There is the code
Sub AddStageI()
Dim newstuff As String
newstuff = InputBox("What is a sign of a Stage I pressure ulcer?")
If newstuff "" Then
With ActivePresentation.SlideShowWindow.View.Slide _
.Shapes(2).TextFrame.TextRange
.Text = .Text + Chr$(13) + newstuff
End With
End If
End Sub
The If newstuff line keeps redlettering me and telling me it is expecting
that it is expecting a Then or GoTo. I do have dyslexia and can't proof read
worth a darn, but I think Then = Then. Any ideas.
Thanks
Fay
There is the code
Sub AddStageI()
Dim newstuff As String
newstuff = InputBox("What is a sign of a Stage I pressure ulcer?")
If newstuff "" Then
With ActivePresentation.SlideShowWindow.View.Slide _
.Shapes(2).TextFrame.TextRange
.Text = .Text + Chr$(13) + newstuff
End With
End If
End Sub
The If newstuff line keeps redlettering me and telling me it is expecting
that it is expecting a Then or GoTo. I do have dyslexia and can't proof read
worth a darn, but I think Then = Then. Any ideas.
Thanks
Fay