Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Mike,
All that code is doing is defining three variables, all of range datatype. In itself, it does nothing, each variable is nothing at that point, but worksheets ranges can be loaded (set cell = Range("A1")) and then used in any subsequent processing. AT this point they also have no relationship to one another. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "mike" wrote in message ... I would like to understand this..lets see if i understand what it is telling vb to do. ... Dim cell As Range, rng AS Range Dim rng1 As Range ... this is part of the whole code i have but i was thinking of this part... Does this mean that it is setting a "cell" as a range in the whole workbook and when it sees what it is looking for in that cell then that cell is referred to as rng1 for the moment? can anyone clarify and tell me if i am close or in the outfield? mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find Last cell in Range when range is date format | Excel Discussion (Misc queries) | |||
RANGE EXCEL copy cell that meets criteria in a range | Excel Worksheet Functions | |||
copy range and paste into every 3rd cell of new range | New Users to Excel | |||
Referencing a named range based upon Range name entry in cell | Excel Worksheet Functions | |||
Selecting range in list of range names depending on a cell informa | Excel Discussion (Misc queries) |