Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello. I use the variable strbody in the body of an e-mail. The variable
collects that data from the worksheet nicely. I was hoping to add a vlookup formula to it. So for example, the variable picks up the PO numbers in a given row. On the same sheet (but in a hidden range) I have a table with all PO numbers and their description. I would love the variable to concatenate the PO number with the PO description, and set THAT as the variable. Thank you for your help! Set var = Range(Cells(ActiveCell.Row, "M"), _ Cells(ActiveCell.Row, "BJ").End(xlToLeft)) For Each cell In var strbody = strbody & cell.Value & vbNewLine Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
variable height variable width stacked bar charts | Charts and Charting in Excel | |||
Sum cells based on a row variable and seperate column variable | Excel Worksheet Functions | |||
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? | Excel Worksheet Functions | |||
Run-time error '91': "Object variable or With block variable not set | Excel Programming | |||
Cells.Find error Object variable or With block variable not set | Excel Programming |