Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sorry, figured it out: Cells syntax was wrong! eek:
For the record, the correct code now reads: Dim Cell As Variant For Each Cell In WhtCode.Range("N2:N30") If Cell.Value < "0" Then whtData.Range(Cell.Value).Cut whtData.Range(whtData.Cells(Cell.row, 26) whtData.Cells(Cell.row, 26)).Select ActiveSheet.Paste End If Next Cel -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run-time error '50290': Application-defined or object-defined erro | Excel Discussion (Misc queries) | |||
Application-defined or object-defined error Please Help | Excel Discussion (Misc queries) | |||
Macro error : Application-defined or object-defined error | Excel Discussion (Misc queries) | |||
Application-defined or object-defined error | Excel Programming | |||
Runtime Error 1004 -- Application Defined or Object Defined Error | Excel Programming |