Move to the next row

dekalbemp

New Member
Joined
Apr 27, 2011
Messages
1
I have a certificate in Excel that contains two field that change one is a random genrated number and the other is changed manually by entering an employee's name. All this occurs on sheet one. I have sheet two that is linked and changes also. I need to keept the information and automatically have excel move to the next row if data is detected. Looks liket this

Cell A Cell B
Row 1 123456 Jane Doe

When I enter the information on sheet one for the next record John Doe 456123 I need it to look like below instead of replacing the information in row 1

Cell A Cell B
Row 1 123456 John Doe
Row 2 123456 Jane Doe
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
There are a couple ways I would suggest handling this:
  1. Create a Worksheet_Change event that will monitor for when B1 on the first worksheet changes, then it will copy over the data to the next row on your second sheet
  2. Create a button that will bring up an input box that asks for an employee name. Then when you hit OK, it will create the record on the second sheet.
Personally, I would reccommend the second option, because if you accidentally change B1 under the first method, it will copy over the record anyway.

Let me know which method you prefer (if either).
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,671
Members
452,937
Latest member
Bhg1984

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