nicbono
11-21-2011, 05:46 PM
Hi,
I am writing a User Form macro. The macro simply inputs information in spaces specifyed into a table in Word 2010.
I am having trouble understanding how or if I can have two different styles in one line of code.
.Rows(5).Range.Text = txtName.Text & " " & txtPosition.Text
Above is the string of code which I need to edit.
I would like txtName.Text to be in bold and txtPosition.Text to be in regular.
If anyone has a clue if this can even be done, please let me know!
Kind regards,
nicbono
I am writing a User Form macro. The macro simply inputs information in spaces specifyed into a table in Word 2010.
I am having trouble understanding how or if I can have two different styles in one line of code.
.Rows(5).Range.Text = txtName.Text & " " & txtPosition.Text
Above is the string of code which I need to edit.
I would like txtName.Text to be in bold and txtPosition.Text to be in regular.
If anyone has a clue if this can even be done, please let me know!
Kind regards,
nicbono