A
Al & Cay Grant
Hey people,
I have the following line which takes data from a table and sets it to
strings;
ocsection = UserDetailsDoc.Tables(1).Cell(4, 2).Range
ocstation = UserDetailsDoc.Tables(1).Cell(5, 2).Range
Later on when I go
string1 = ocsection & ocstation
msgbox string1
I find that string 1 is actually
"section
?station
?"
I have checked the table and the extra lines are not coming from their.
Is it something to do with using range???
Whats the best solution? some sort of string cleanup?
Cheers
- Al
I have the following line which takes data from a table and sets it to
strings;
ocsection = UserDetailsDoc.Tables(1).Cell(4, 2).Range
ocstation = UserDetailsDoc.Tables(1).Cell(5, 2).Range
Later on when I go
string1 = ocsection & ocstation
msgbox string1
I find that string 1 is actually
"section
?station
?"
I have checked the table and the extra lines are not coming from their.
Is it something to do with using range???
Whats the best solution? some sort of string cleanup?
Cheers
- Al