Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing! help
How do you reference a single cell?...it doesnt have to be specific just
any cell but without naming it as a range...i.e what ever column your in then look at cell in that column say on row 2? thanks, simon --- Message posted from http://www.ExcelForum.com/ |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing! help
Simon,
Try something like Dim Rng As Range Set Rng = Cells(2,ActiveCell.Column) Rng.Value = 123 -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Simon Lloyd " wrote in message ... How do you reference a single cell?...it doesnt have to be specific just any cell but without naming it as a range...i.e what ever column your in then look at cell in that column say on row 2? thanks, simon --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing! help
try x=cells(2,activecell.column) -- Don Guillett SalesAid Software "Simon Lloyd " wrote in message ... How do you reference a single cell?...it doesnt have to be specific just any cell but without naming it as a range...i.e what ever column your in then look at cell in that column say on row 2? thanks, simon --- Message posted from http://www.ExcelForum.com/ |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing! help
Cells(2, Activecell.Column) -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Simon Lloyd " wrote in message ... How do you reference a single cell?...it doesnt have to be specific just any cell but without naming it as a range...i.e what ever column your in then look at cell in that column say on row 2? thanks, simon --- Message posted from http://www.ExcelForum.com/ |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell referencing! help
Simon,
You can just reference it as Cells(R,C) where R is the row number, C the column number. Use Cells(R,C).Value for the actual value in the cell. -----Original Message----- How do you reference a single cell?...it doesnt have to be specific just any cell but without naming it as a range...i.e what ever column your in then look at cell in that column say on row 2? thanks, simon --- Message posted from http://www.ExcelForum.com/ . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
cell referencing | Excel Worksheet Functions | |||
Referencing Cell Next To Today's Date Cell | Excel Discussion (Misc queries) | |||
Cell Referencing? | Excel Worksheet Functions | |||
Cell referencing | Excel Discussion (Misc queries) | |||
Cell Referencing | Excel Programming |