Hi
I have set up a code worksheet where users enter data into the last row of a table via entry through a userform with comboxes. Users fill out the form, and press a command button that fills the last row of the table.
I cant find a simple way to force the combo boxes to paste values into the table in uppercase only.
So instead, I want a code makes the last line added uppercase
Where am i going wrong:
I have set up a code worksheet where users enter data into the last row of a table via entry through a userform with comboxes. Users fill out the form, and press a command button that fills the last row of the table.
I cant find a simple way to force the combo boxes to paste values into the table in uppercase only.
So instead, I want a code makes the last line added uppercase
Where am i going wrong:
Code:
Dim btmrow As Integer
Dim BottomRow As Long
'find next available row to update data in the data worksheet
btmrow = Cells(Rows.Count, "A").End(xlUp).Row
'make everything added capitals
BottomRow = Range("btmrow:btmrow").Row
Range(BottomRow).Value = UCase(Range(BottomRow).Value)
Last edited: