Vlookup only VUpdate instead????

steve9

New Member
Joined
Mar 10, 2002
Messages
6
Let's say I have a table like the following:

Worksheet1
----------
Table1:
Column1 .... Column15 Column16
Serial Number .... Value1 Value2

Now on some other worksheets, I'll have data like the following:
Column1 Column2 Column3
Serial Number Value1 Value2

I'd like to come up with a macro that on one of those random worksheets, when I have the Serial Number highlighted, it would go to WORKSHEET1 and update Column15 and Column16 with the data from the Column2 and Column3 from the worksheet that the macro was initiated from.

I can't use a Vlookup on WORKSHEET1 because different Serial Numbers get their data from different sheets.

I need to do something like an update query in Access.

Any ideas guys?

Steve
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,214,625
Messages
6,120,598
Members
448,973
Latest member
ksonnia

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