submit / update macro

ElBenno

Board Regular
Joined
Jun 3, 2005
Messages
97
Hi,
I am trying to create 2 work sheets. One is just a simple table (register). The other I want to be able to use as a sort of Form where i can enter data into the cells and then click a submit / update button that will then populate the register. Can anyone help with this macro or VBA.

Kindest Regards,

ben
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
My register is a normal table:

Date Identification method Details Names Involved


Then the other sheet i want to be like a form that runs down the page:

Date:_______________

Identification Method: <<A boxed cell / field here for text>>

Does that help??
 
Upvote 0
you can start with this code;
Code:
Private Sub CommandButton1_Click()
Sheets("register").Range("a" & Rows.Count).End(xlUp).Offset(1) = Sheets("form").Range("a1")
Sheets("register").Range("a" & Rows.Count).End(xlUp).Offset(, 1) = Sheets("form").Range("a3")
Sheets("register").Range("a" & Rows.Count).End(xlUp).Offset(, 2) = Sheets("form").Range("a5")
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,981
Messages
6,122,566
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top