D
Dave Peterson
Set up the output sheet first:
'at the top of the userform module
dim WksCreated as boolean
sub commandbutton1_click()
if wkscreated = false then
wksCreated = true
end if
with newwks
set destcell = .cells(.rows.count,"A").end(xlup).offset(1,0)
end with
with destcell
.value = me.textbox1.value
.offset(0,1).value = "next column over"
.offset(0,5).value = "5 columns to the right"
end with
End sub
Untested, uncompiled.
Then do the
'at the top of the userform module
dim WksCreated as boolean
sub commandbutton1_click()
if wkscreated = false then
wksCreated = true
end if
with newwks
set destcell = .cells(.rows.count,"A").end(xlup).offset(1,0)
end with
with destcell
.value = me.textbox1.value
.offset(0,1).value = "next column over"
.offset(0,5).value = "5 columns to the right"
end with
End sub
Untested, uncompiled.
Then do the
Hey Dave, Rite now with this code it is saving seperate copies on clicking
"Insert"
I want to loop it through the same worksheet and save the data on the same
sheet but new row every time I hit "Insert"
SO when I click "Insert" after selecting a Task from the dropdown... I want
that Task and ROll no to populate in Row1, then If I input a different roll
no and select a Task for that and click "Insert" I want this to populate in
Row2 and so on.. Untill I manually save the workbook
Thanks in advance