Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
While writng a macro, it occurred to me that I don't know the syntax for
inserting a formula rather than a hard value for .Offset(ROWS,COLUMNS) Here is the gist of my line: Instead of Offset(4, -1), say... I would like to Offset ROWS by looking at the current month (in A1), timesing that by 25, then subtracting (29 minus the row that the active data entry cell is in.) I've tried a bunch of stuff, but it takes nothing... ..Offset(MONTH(A1)*25-(29-Row(ActiveCell)),-1).Address & "," is its latest incarnation. Does anybody know how this can be done? Thanks for your continued support. Arlen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What takes the place of a space in a formula? | Excel Discussion (Misc queries) | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
Is there a formula that will place the sheet name in a cell? | Excel Worksheet Functions | |||
Req Formula to place 1 into next columns | Excel Worksheet Functions | |||
Req Formula to place 1 into next columns | Excel Worksheet Functions |