Re: Long-hand references vs short-hand
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Mon, 18 Feb 2008 22:41:01 -0500
"JonWayn" <JonWayn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8B5512D6-9D06-4C6B-B5C2-B73146A033DF@xxxxxxxxxxxxx
Is there any functional differences between the construct:
Set CurRow = TblPersonalInfo.Rows(1)
Set CellsColl = CurRow.Cells
Set CurCell = CellsColl(0)
and
SetCurCell = TblPersonalInfo.Rows.Item(1).Cells.Item(0)
?
No, not really. You can make it even shorter:
Set CurCell = TblPersonalInfo.Rows(1).Cells(0)
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Prev by Date: Re: programatically open IE window
- Next by Date: Re:Can I force which process a new IE instance is opened into when using CoCreateInstance?
- Previous by thread: MSHTML.dll hangs
- Next by thread: Re:Can I force which process a new IE instance is opened into when using CoCreateInstance?
- Index(es):