NotSoVisual
Technical User
I want to show powers in output to Text box AND also to print to paper. Have no clue.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim intCurrent as Integer 'keeps track within the string
For intCounter = 1 To cnt
TxtAnswer = TxtAnswer & Str(Prime(intCounter)) & "^" & Trim(Str(Ex(intCounter))) & ", "
Next intCounter
rtb1.Text = TxtAnswer
For intCounter = 1 To cnt
intCurrent = InStr(intCurrent + 1, TxtAnswer, "^")
rtb1.SelStart = intCurrent
rtb1.SelLength = 1
rtb1.SelCharOffset = 50
Next intCounter