Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Here's what I have so far: Lvalue = Sheets("Historical Load").Range("A2").Value Set IRange = Sheets("Historical Load").Range("C1:BA1").Offset(i - 1, 0) Set Vrange = Sheets("Historical Load").Range("C8:BA8") Set MyCell = Sheets("Nomination").Range("H1") MyCell.Offset(i - 1, 0).Value = Application.WorksheetFunction.index _ (IRange, 1, Application.WorksheetFunction.Match(Lvalue, Vrange, False)) This is part of a For - Next loop, where i is an integer. In that second row, I want to Offset that entire range ("C1:BA1") by the amount i - 1. I think it's not working because Offset is usually for a single cell. Does anyone have any suggestions for getting this to work? Thanks! Alex |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Offsetting | Excel Discussion (Misc queries) | |||
Offsetting and HLOOKUP | Excel Worksheet Functions | |||
Cont'd - Offsetting within a range dynamically - But returning a sum of all instances criteria are met | Excel Worksheet Functions | |||
Offsetting Cells | Excel Programming | |||
Offsetting a varible?? | Excel Programming |