Instead of creating a ton of threads and people starting to hate me for it I figured I could create this one and get try and get help from whoever on many parts of my spreadsheet.
First off let me say that the majority of my SS works fine but I am trying to improve on it and make this easier for my boss who spends a TON of time doing what should only take him minutes to do. BTW the boss is also my old man and I'm really trying to just make his life much easier.
FORM to CELLS
So next on my list is, updating the user form that I already have. Currently I am using 1 form and 1 text box in that form which sends text to cell A1. This works fine but now I need to use that same form (created a new text box (called txt_ship_loco)) that I need to send that text into cell B5.
Here is what I am currently using to add info into cell A1
First off let me say that the majority of my SS works fine but I am trying to improve on it and make this easier for my boss who spends a TON of time doing what should only take him minutes to do. BTW the boss is also my old man and I'm really trying to just make his life much easier.
FORM to CELLS
So next on my list is, updating the user form that I already have. Currently I am using 1 form and 1 text box in that form which sends text to cell A1. This works fine but now I need to use that same form (created a new text box (called txt_ship_loco)) that I need to send that text into cell B5.
Here is what I am currently using to add info into cell A1
Code:
Private Sub btnOK_NJ_Click()
Dim sData As String
Dim lRowNum As Long
sData = txtShipName.Text
' Put the data in the current worksheet:
If Cells(1, 1).Value = "" Then
lRowNum = 1
Else
lRowNum = Sheet1.UsedRange.Rows.Count
End If
Cells(lRowNum, 1).Value = "TIMESHEET - " & sData
' Clear text box and set focus for next entry:
txtShipName.Text = ""
txtShipName.SetFocus
Unload Me
End Sub
Last edited: