G
Greg
Hello,
I am trying to use a textbox value from a slide in a calculation. I will
have the same textbox on many slides that I will perform the same
calculation.
The module is triggered from a button on a slide master.
The textbox is named "PointValue".
I can tell the module which slide I just came from, but when I try to grab
the value of "pointValue" I get errors.
Any help would be appreciated.
Public Sub GetPoints()
Dim strPoints As String
Dim strSlidenum As String
strSlidenum = SlideShowWindows(1).View.Slide.SlideNumber
strPoints =
ActivePresentation.Slides(strSlidenum).Shapes("PointValue").TextFrame.TextRange.Text
MsgBox "slide number: " & strSlidenum & " Point Value: " & strPoints
End Sub
I am trying to use a textbox value from a slide in a calculation. I will
have the same textbox on many slides that I will perform the same
calculation.
The module is triggered from a button on a slide master.
The textbox is named "PointValue".
I can tell the module which slide I just came from, but when I try to grab
the value of "pointValue" I get errors.
Any help would be appreciated.
Public Sub GetPoints()
Dim strPoints As String
Dim strSlidenum As String
strSlidenum = SlideShowWindows(1).View.Slide.SlideNumber
strPoints =
ActivePresentation.Slides(strSlidenum).Shapes("PointValue").TextFrame.TextRange.Text
MsgBox "slide number: " & strSlidenum & " Point Value: " & strPoints
End Sub