anup.behera86
New Member
Hi Everybody,
I am novice in macro writing and it would be a great help if anyone can provide their inputs to my queries mentioned below:
I have a excel file named Floor mapping.xlsx with two sheets,
1. Picking density
2. Layout
First the macro should create a backup sheet of Layout i.e. Layout(2) and make changes to it as the original file needs remain intact. Picking density is the sheet where user inputs the values which needs to be searched and replaced from Layout(2) sheet. The user enters values in two columns : A and B as mentioned below:
For eg
ColumnA Column B
R09A 15
R10A 14
R09B 35
R12E 60
R10E 110
The macro picks the R09A value i.e A1 and checks the entry in Layout(2) sheet. If found it replaces it with the value B1 i.e. 15
Also, the number of entries are variable i.e sometimes user enters 5 values A1-A5 and sometimes 10, A1-A10. The macro needs to calculate this automatically.
Please let me know how to proceed with it.
Thanks,
Anup
I am novice in macro writing and it would be a great help if anyone can provide their inputs to my queries mentioned below:
I have a excel file named Floor mapping.xlsx with two sheets,
1. Picking density
2. Layout
First the macro should create a backup sheet of Layout i.e. Layout(2) and make changes to it as the original file needs remain intact. Picking density is the sheet where user inputs the values which needs to be searched and replaced from Layout(2) sheet. The user enters values in two columns : A and B as mentioned below:
For eg
ColumnA Column B
R09A 15
R10A 14
R09B 35
R12E 60
R10E 110
The macro picks the R09A value i.e A1 and checks the entry in Layout(2) sheet. If found it replaces it with the value B1 i.e. 15
Also, the number of entries are variable i.e sometimes user enters 5 values A1-A5 and sometimes 10, A1-A10. The macro needs to calculate this automatically.
Please let me know how to proceed with it.
Thanks,
Anup