Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
dreamz wrote:
what's wrong with this code? "list" is a named range. Code: -------------------- Private Sub Test() Dim CurCell As Object Application.ScreenUpdating = False For Each CurCell In Range("List") -------------------- Go to Insert/Name/Define , find "list" on a list and check if you see name of worksheet in that line. If yes, it means that "list" is defined on specific sheet only, and doesn't not exist when other sheet is active. If you don't see a name of worksheet - I don't know why it doesn't work :) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
runtime error 1004 method range of object '_global failed | Excel Discussion (Misc queries) | |||
Runtime Error 1004 Select method of Range class Failed | Excel Programming | |||
Runtime Error 1004 - Method Range of '_Global failed' | Excel Programming | |||
Runime Error 1004 Method Range of Object Global Failed | Excel Programming | |||
runtime error '1004' delete Method of Range Class Failed | Excel Programming |