Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi:
What are the parameters for the item method of the range object? I have understand the first two row and collumn index, what are the last two lcid and the final string parameter? Any help apreciated. Sean. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Where are you looking that you see the Item method for the Range object
having four arguments? -- Rick (MVP - Excel) "Sean Farrow" wrote in message ... Hi: What are the parameters for the item method of the range object? I have understand the first two row and collumn index, what are the last two lcid and the final string parameter? Any help apreciated. Sean. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Same question I had, Rick. The Item method works with the collection index
as far as I can tell. I see nothing related to lcid or final string mentioned in any of the dialog. "Rick Rothstein" wrote: Where are you looking that you see the Item method for the Range object having four arguments? -- Rick (MVP - Excel) "Sean Farrow" wrote in message ... Hi: What are the parameters for the item method of the range object? I have understand the first two row and collumn index, what are the last two lcid and the final string parameter? Any help apreciated. Sean. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi:
in the excel 2000 type library. Basically what I want to do, is iterate down all rows in the collumn of the activecell on the activeshet in the active window. Any help apreciated. Sean. "JLGWhiz" wrote in message ... Same question I had, Rick. The Item method works with the collection index as far as I can tell. I see nothing related to lcid or final string mentioned in any of the dialog. "Rick Rothstein" wrote: Where are you looking that you see the Item method for the Range object having four arguments? -- Rick (MVP - Excel) "Sean Farrow" wrote in message ... Hi: What are the parameters for the item method of the range object? I have understand the first two row and collumn index, what are the last two lcid and the final string parameter? Any help apreciated. Sean. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Your mention of "active window" and "type library" have me wondering whether
you are trying to look at different sessions of Excel running concurrently as opposed to just looking at the active workbook within a single session of Excel. I'll assume the latter as that would be the most logical. See if this code does what you want... Dim X As Long Dim LastRow As Long Dim ActiveCol As Long ActiveCol = ActiveCell.Column With ActiveSheet LastRow = .Cells(.Rows.Count, ActiveCol).End(xlUp).Row End With For X = 1 To LastRow ' ' Your code goes here... use Cells(X, ActiveCol) ' to reference the cell being iterated per loop... ' ' For example: Debug.Print Cells(X, ActiveCol).Value ' Next -- Rick (MVP - Excel) "Sean Farrow" wrote in message ... Hi: in the excel 2000 type library. Basically what I want to do, is iterate down all rows in the collumn of the activecell on the activeshet in the active window. Any help apreciated. Sean. "JLGWhiz" wrote in message ... Same question I had, Rick. The Item method works with the collection index as far as I can tell. I see nothing related to lcid or final string mentioned in any of the dialog. "Rick Rothstein" wrote: Where are you looking that you see the Item method for the Range object having four arguments? -- Rick (MVP - Excel) "Sean Farrow" wrote in message ... Hi: What are the parameters for the item method of the range object? I have understand the first two row and collumn index, what are the last two lcid and the final string parameter? Any help apreciated. Sean. |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
is there an excel enumeration constant for the current cel?
Cheers. Sean. "Rick Rothstein" wrote in message ... Your mention of "active window" and "type library" have me wondering whether you are trying to look at different sessions of Excel running concurrently as opposed to just looking at the active workbook within a single session of Excel. I'll assume the latter as that would be the most logical. See if this code does what you want... Dim X As Long Dim LastRow As Long Dim ActiveCol As Long ActiveCol = ActiveCell.Column With ActiveSheet LastRow = .Cells(.Rows.Count, ActiveCol).End(xlUp).Row End With For X = 1 To LastRow ' ' Your code goes here... use Cells(X, ActiveCol) ' to reference the cell being iterated per loop... ' ' For example: Debug.Print Cells(X, ActiveCol).Value ' Next -- Rick (MVP - Excel) "Sean Farrow" wrote in message ... Hi: in the excel 2000 type library. Basically what I want to do, is iterate down all rows in the collumn of the activecell on the activeshet in the active window. Any help apreciated. Sean. "JLGWhiz" wrote in message ... Same question I had, Rick. The Item method works with the collection index as far as I can tell. I see nothing related to lcid or final string mentioned in any of the dialog. "Rick Rothstein" wrote: Where are you looking that you see the Item method for the Range object having four arguments? -- Rick (MVP - Excel) "Sean Farrow" wrote in message ... Hi: What are the parameters for the item method of the range object? I have understand the first two row and collumn index, what are the last two lcid and the final string parameter? Any help apreciated. Sean. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
CDO, SMTP Server Name, and Excel's SendMail Method | Excel Programming | |||
Search Range for item in seperate range | Excel Programming | |||
sum item within certain date range | Excel Discussion (Misc queries) | |||
Range Question / error 1004: method Range of object Worksheet has failed | Excel Programming | |||
Excel's range Union operator in WORKDAY function gives #VALUE!. | Excel Programming |