I need a data transfer macro

Kevin.W

New Member
Joined
Feb 4, 2010
Messages
7
I am trying to make a simple spreadsheet for some people I work with to use each day. I have set up a Data Entry sheet where an individual can input the necessary data.

On the next sheet (tab) I have a simple table where that input data is used to do some calculations, etc and gives the desired results. So, what I need is a simple macro that will lookup the date input on one sheet, search a column of dates on the other sheet, then copy and paste all of the data from the table on into that row.

This doesn't seem to be that difficult in theory but I'm very inexperienced with VBA and I can't find anything out there that does something like this. Please help :)
 
Never mind! My mistake I did another look over that code and I had missed one small change.

It works perfectly! I'm in awe. Thank you so much for the help Lenze.
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Post your EXACT code, because mine works fine!!
I used a button from the Forms ToolBar, but it shouldn't matter!

lenze
EDIT: IGNORE
EDIT2:
You might wish to turn off ScreenUpdating to avoid all the flickering!!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,660
Messages
6,126,089
Members
449,288
Latest member
DjentChicken

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