Plze Help to write a Macro

Hyberlevan

New Member
Joined
Mar 31, 2011
Messages
2
Hi all,

Plz help me to make changable cells in Excel.
For example I have 2 sheets. On the first sheet I have code with data beside it. this code is changebale and also the data.
On the second sheet I have a table full with different codes with no data for the begining. I want something which will find the code on the second sheet from the first one (like vlookup) and paste the data beside it. but when I change the code on the first sheet it should find the second code on the second sheet and also not to loose the data pasted when it found the first one.

So I want something which will update the info on second sheet every time I select different codes and edit it on first one and it should also keep the data which is no longer displayed on the first sheet.

I know I explained it hard but I think it is easy to make when you know VBA well....

so to be more clear please see attached image and evereything is explained there.

http://img12.imageshack.us/i/123ms.jpg/#



Waiting for your posts...
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hyberlevan,

Welcome to the MrExcel forum.


You are posting a picture. This means that if this was a problem where one needed to use your data, anyone trying to help you would have to enter the data manually. That makes no sense and I doubt that you would get any answer.


What version of Excel are you using?

You will generally get much more help (and faster) in this forum if you can post your small samples directly in the forum.

To attach screenshots, see below in my Signature block: Post a screen shot with one of these:

If you are not able to give us screenshots, see below in my Signature block: You can upload your workbook to Box Net
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,876
Members
452,949
Latest member
Dupuhini

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