I have a workbook with 2 - worksheets "DATA" and "LETTER".
The "DATA" sheet has columns "First Name" "Last Name" "Address"...etc.
The user can enter in either a "X" or a "x" in cells B6:B100 on the "DATA" worksheet. After the user enters a X or x and hits the macro button I need it to copy certain cells from "DATA" worksheet to "LETTER" worksheet. I have listed a example below.
In this example if a "X" or "x" is entered into B6 on "DATA" worksheet and the macro button is hit, then:
C6, D6, & E6 need to be entered into cell C10 in the "LETTER" worksheet
F6 "DATA" to be entered into C11 "LETTER", G6 "DATA" entered into C12 "LETTER"
I6, J6, & K6 "DATA" entered into C17 "LETTER"
____________________________________________________________________
ANOTHER EXAMPLE:
If a "X" or "x" is entered into B7 on "DATA" worksheet and the macro button is hit, then:
C7, D7, & E7 need to be entered into cell C10 in the "LETTER" worksheet
F7 "DATA" to be entered into C11 "LETTER", G7 "DATA" entered into C12 "LETTER"
I7, J7, & K7 "DATA" entered into C17 "LETTER"
____________________________________________________________________
The cells will always be the exact same on the "LETTER" worksheet. Only the "DATA" worksheet will be different cell locations based on where the "X" or "x" is located in column B, but the rows will always correspond (i.e. C6, D6, E6..........C7, D7, E7.......C8, D8, E8..)
I would greatly appreciate any help to get me going on this. I am having a tough time with this one.
The "DATA" sheet has columns "First Name" "Last Name" "Address"...etc.
The user can enter in either a "X" or a "x" in cells B6:B100 on the "DATA" worksheet. After the user enters a X or x and hits the macro button I need it to copy certain cells from "DATA" worksheet to "LETTER" worksheet. I have listed a example below.
In this example if a "X" or "x" is entered into B6 on "DATA" worksheet and the macro button is hit, then:
C6, D6, & E6 need to be entered into cell C10 in the "LETTER" worksheet
F6 "DATA" to be entered into C11 "LETTER", G6 "DATA" entered into C12 "LETTER"
I6, J6, & K6 "DATA" entered into C17 "LETTER"
____________________________________________________________________
ANOTHER EXAMPLE:
If a "X" or "x" is entered into B7 on "DATA" worksheet and the macro button is hit, then:
C7, D7, & E7 need to be entered into cell C10 in the "LETTER" worksheet
F7 "DATA" to be entered into C11 "LETTER", G7 "DATA" entered into C12 "LETTER"
I7, J7, & K7 "DATA" entered into C17 "LETTER"
____________________________________________________________________
The cells will always be the exact same on the "LETTER" worksheet. Only the "DATA" worksheet will be different cell locations based on where the "X" or "x" is located in column B, but the rows will always correspond (i.e. C6, D6, E6..........C7, D7, E7.......C8, D8, E8..)
I would greatly appreciate any help to get me going on this. I am having a tough time with this one.