Text Boxes and macros

  • Thread starter Thread starter Guest
  • Start date Start date
Userform1.TextBox1.Text = "abc"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Thanks Bob
I also want to change text size and Font. Can you help with a small example code.
Thanks very much.
Bent
Userform1.TextBox1.Text = "abc"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
With UserForm1.TextBox1
With .Font
.Name = "Arial"
.Size = 11
End With
.Text = "abc"
End With

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



Thanks Bob
I also want to change text size and Font. Can you help with a small example code.
Thanks very much.
Bent
Userform1.TextBox1.Text = "abc"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Bob
Thank you very much.
Bent

With UserForm1.TextBox1
With .Font
.Name = "Arial"
.Size = 11
End With
.Text = "abc"
End With

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



Thanks Bob
I also want to change text size and Font. Can you help with a small example code.
Thanks very much.
Bent
Userform1.TextBox1.Text = "abc"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Back
Top