Hi all,
First time poster, thanks for having me.
I've created an excel database that uses userforms to gather information from individuals. This userform information is then added into cells on a separate worksheet.
The way that the information is being added on the worksheet is in rows. I need it to write the information in columns.
So I have me JPMCK4713. I would complete the userform. Once completed it then converts that information under a heading on my worksheet in rows only. So a second person completing the Userform would complete their information and that would appear in the row under my previous submission.
I'm trying to get it so that the information is placed in the column next to mine. So my information goes in say Column D, the next persons information would then be placed in Column E.
This is a brief view of the code I'm currently using.
Sub Report()
Dim LastRow As Long, ws As Worksheet
Set ws = Sheets("Sheet1")
LastRow = ws.Range("A" & Rows.Count).End(xlUp).Row + 1 'Finds the last blank row
ws.Range("A" & LastRow).Value = UserForm1.TextBox1.Text
ws.Range("B" & LastRow).Value = UserForm1.TextBox2.Text
ws.Range("C" & LastRow).Value = UserForm1.TLSelection.Text
ws.Range("D" & LastRow).Value = UserForm3.ComboBox1.Text
Any advice, tips or solutions, greatly appreciated.
I'm also looking for code that would input a date into my worksheet, without the user having to input the date. So a code that automatically picks up the date and pastes that information into a cell in each users column?
Thank you all.
First time poster, thanks for having me.
I've created an excel database that uses userforms to gather information from individuals. This userform information is then added into cells on a separate worksheet.
The way that the information is being added on the worksheet is in rows. I need it to write the information in columns.
So I have me JPMCK4713. I would complete the userform. Once completed it then converts that information under a heading on my worksheet in rows only. So a second person completing the Userform would complete their information and that would appear in the row under my previous submission.
I'm trying to get it so that the information is placed in the column next to mine. So my information goes in say Column D, the next persons information would then be placed in Column E.
This is a brief view of the code I'm currently using.
Sub Report()
Dim LastRow As Long, ws As Worksheet
Set ws = Sheets("Sheet1")
LastRow = ws.Range("A" & Rows.Count).End(xlUp).Row + 1 'Finds the last blank row
ws.Range("A" & LastRow).Value = UserForm1.TextBox1.Text
ws.Range("B" & LastRow).Value = UserForm1.TextBox2.Text
ws.Range("C" & LastRow).Value = UserForm1.TLSelection.Text
ws.Range("D" & LastRow).Value = UserForm3.ComboBox1.Text
Any advice, tips or solutions, greatly appreciated.
I'm also looking for code that would input a date into my worksheet, without the user having to input the date. So a code that automatically picks up the date and pastes that information into a cell in each users column?
Thank you all.