Afternoon all
stuck again if some can help me out,
I have a userform with several text boxes on it ie a 7 x 3 grid
I want to be able to populate the contents depending upon a variable
for example if I have
var = 3
string1 = "part1"
string2 = "part2"
so this would populate row 3 on my grid with 3 part1 part2
if I had
var = 1
string1 = "part1"
string2 = "part2"
this would populate row 1 on my grid with 1 part1 part 2
I would like to have 1 piece of code that looks at the variable then decides rather than lots of if statements - so I can use the same code for all the boxes
hope this makes sense
PS please can you put comments on so I can under stand please
Steve
stuck again if some can help me out,
I have a userform with several text boxes on it ie a 7 x 3 grid
I want to be able to populate the contents depending upon a variable
for example if I have
var = 3
string1 = "part1"
string2 = "part2"
so this would populate row 3 on my grid with 3 part1 part2
if I had
var = 1
string1 = "part1"
string2 = "part2"
this would populate row 1 on my grid with 1 part1 part 2
I would like to have 1 piece of code that looks at the variable then decides rather than lots of if statements - so I can use the same code for all the boxes
hope this makes sense
PS please can you put comments on so I can under stand please
Steve