Hi There,
I have an Excel workbook and I would like to have some VBA code that when executed looks at the information input into tab Sheet2, Column E, Row 7, Cell E7:
Sheet2
Here marked as "INFO", and then based on what is entered, selects a named range called "Information1" in tab Sheet1 to copy and paste the range into an email and then loops to the next empty line and stops once completed.
Then, if the next line in Sheet2, Column E, Row 8, Cell E8 has on the next execution INFO3 input, the code selects the next named range in tab Sheet1 called "Information3"
Sheet1
Thank you in advance.
Steve
I have an Excel workbook and I would like to have some VBA code that when executed looks at the information input into tab Sheet2, Column E, Row 7, Cell E7:
Sheet2
A | B | C | D | E | F | G | H | I | J | K | L | M | N |
Header1 | Header2 | Header3 | Header4 | Header5 | Header6 | Header7 | Header8 | Header9 | Header10 | Header11 | Header12 | Header13 | Header14 |
data1 | INFO | ||||||||||||
Here marked as "INFO", and then based on what is entered, selects a named range called "Information1" in tab Sheet1 to copy and paste the range into an email and then loops to the next empty line and stops once completed.
Then, if the next line in Sheet2, Column E, Row 8, Cell E8 has on the next execution INFO3 input, the code selects the next named range in tab Sheet1 called "Information3"
Sheet1
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S |
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Information 1 | Information 1 | Information 1 | Information 1 | Information 1 | Information 2 | Information 2 | Information 2 | Information 2 | Information 2 | Information 3 | Information 3 | Information 3 | Information 3 | Information 3 | ||||
Thank you in advance.
Steve