C
chief
i have set it up so that when they click a command button i
automatically saves the invoice sheet into my documents with the K
cell contents as the file name. However, i would like to have it set u
so that one they close, the next time they open the sheet to do anothe
invoice it will be 1 number higher than the last saved invoice number
The reply posted before took care of most of that, but now it seem
that when i click the command button to auto save it to my docs an
close the sheet, when i open a new sheet it comes up as the sam
number. Should there be some sort of loop code in there?
code: With Sheets("sheet1")
.Range("K5").Value = .Range("K5").Value + 1
End With
Second problem is when i have a userform show and there are two comman
buttons that can be clicked inside of it, how can i set it up so tha
commandbutton2 does not appear until commandbutton1 is clicked on?
is that possible? I tried some load and hide codes but my knowledge i
limited
thank
automatically saves the invoice sheet into my documents with the K
cell contents as the file name. However, i would like to have it set u
so that one they close, the next time they open the sheet to do anothe
invoice it will be 1 number higher than the last saved invoice number
The reply posted before took care of most of that, but now it seem
that when i click the command button to auto save it to my docs an
close the sheet, when i open a new sheet it comes up as the sam
number. Should there be some sort of loop code in there?
code: With Sheets("sheet1")
.Range("K5").Value = .Range("K5").Value + 1
End With
Second problem is when i have a userform show and there are two comman
buttons that can be clicked inside of it, how can i set it up so tha
commandbutton2 does not appear until commandbutton1 is clicked on?
is that possible? I tried some load and hide codes but my knowledge i
limited
thank