Hi all,
I am looking for a VBA code/macro for doing the following (see below example).
1. In sheet "Data", column "A = Tab name" you need to specify the name of the sheet (in this case, in the workbook there is a sheet called "BS".
2. Also in sheet "Data", you need to specify the "Destination Cell = column B" where the value in "column C = Value".
3. The macro/code should find the sheet mentioned in column A "Tab name" and place the values (if there are several values in the same destination cell, they should be added) in the destination cell of that mentioned sheet.
I trust I explained myself well.
Thanks in advance!
EXAMPLE
Sheet "Data".
<tbody>
</tbody>
Sheet "BS"
<tbody>
</tbody>
I am looking for a VBA code/macro for doing the following (see below example).
1. In sheet "Data", column "A = Tab name" you need to specify the name of the sheet (in this case, in the workbook there is a sheet called "BS".
2. Also in sheet "Data", you need to specify the "Destination Cell = column B" where the value in "column C = Value".
3. The macro/code should find the sheet mentioned in column A "Tab name" and place the values (if there are several values in the same destination cell, they should be added) in the destination cell of that mentioned sheet.
I trust I explained myself well.
Thanks in advance!
EXAMPLE
Sheet "Data".
A | B | C | |
1 | Tab Name | Destination Cell | Value |
2 | BS | A1 | 1.000 |
3 | BS | A1 | 500 |
4 | BS | A2 | 1.000 |
<tbody>
</tbody>
Sheet "BS"
A | |
1 | 1.500 |
2 | 1.000 |
<tbody>
</tbody>