Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Offset not working
On a single worksheet I have a table with the top row is named myRange1.
Farther down the sheet, I have another table which is made up of data extracted from the upper table. This table top row is names myRange2 This code does the extraction: Row = 4 For Each tcell in Range("myRange1") For Each cell in Range("myRange2") If cell.Value = tcell.Value Then tcell.Offset(Row,0).Value = cell.Offset(7,0).value tcell.Offset(Row,2).Value = Name End If Next cell Next tcell When I run this code, nothing is written in cells tcell.Offset(Row,0).Value and tcell.Offset(Row,2).Value. When watch in Debugger, it looks like there are values present. What is happening? Thanks in advance for your help! Ray |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Offset function not working correctly | Excel Discussion (Misc queries) | |||
Dynamic Chart with OFFSET defined name not working | Charts and Charting in Excel | |||
OFFSET equation not working | Excel Worksheet Functions | |||
OFFSET() not working within a SUMPRODUCT() when refering to a range in a pivot table | Excel Worksheet Functions | |||
offset not working | Excel Discussion (Misc queries) |