Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If the sending workbook is open, then you don't need the drive/path in the
expression in your code. If the sending workbook is closed, then I'd plop the formula into the cell ... but I'm repeating myself. Bigfoot17 wrote: I guess my frustration is "that long formula" does not work in VBA but it does in a cell. (I do have the sending file open when using the VBA, but it does not need to be open if I use a formula in a cell.) "Dave Peterson" wrote: I think you'll find that you have to have that sending workbook open to use your code. But you could plop the formula into the cell and then convert to values. with range("G" & toprow + ctab) .formula = "that long formula" .value = .value end with I don't see that too different than using application.evaluate() and just plopping that value into the cell. -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE | Excel Discussion (Misc queries) | |||
SUMPRODUCT | Excel Worksheet Functions | |||
Conditional SUMPRODUCT or SUMPRODUCT with Filters | Excel Worksheet Functions | |||
sumproduct? sumif(sumproduct)? | Excel Worksheet Functions | |||
Help with SUMPRODUCT? | Excel Worksheet Functions |