R
red6000
Hi,
I have a VBA macro in Word XP that has 3 textboxs
TextBox1 will contain a name, both first and last name
What I want to do is be able to split the value in TextBox1 into 2 so that
TextBox2 contains the first name (ie the text up to the space in TextBox1)
and TextBox3 contains the lastname (ie the text in TextBox1 after the
space).
Any clues on how to achieve this? I assume I will need to use some form of
length function and a function to find the space?
Thanks
I have a VBA macro in Word XP that has 3 textboxs
TextBox1 will contain a name, both first and last name
What I want to do is be able to split the value in TextBox1 into 2 so that
TextBox2 contains the first name (ie the text up to the space in TextBox1)
and TextBox3 contains the lastname (ie the text in TextBox1 after the
space).
Any clues on how to achieve this? I assume I will need to use some form of
length function and a function to find the space?
Thanks