0

All shapes from slides 1 As so see, I wanna add the number from the UP1 textbox (The one shown "10")(ActiveXControl so it can be edited while presenting) to the S1 Textbox (Shown "10") Here is my code:

Slide1.Shapes("S1").TextFrame.TextRange = Slide1.Shapes("S1").TextFrame.TextRange + UP1

But here is my result: After Running

Ike
  • 9,580
  • 4
  • 13
  • 29
IWannaAsk
  • 1
  • 1

1 Answers1

0

String values should be cast into numeric values before adding them.

With Slide1.Shapes("S1").TextFrame.TextRange
    .Text = Val(.Text) + UP1
End With
TinMan
  • 6,624
  • 2
  • 10
  • 20