![]() |
Moving between "row" and "range" formats in VBA
In general, I need to know; if I come upon a certain row, using the Range-Cells technique, perhaps in a loop, having arrived there, is there a way to activate the whole row? (I'm trying to learn how to move back and forth between these two types of ways of identifying and altering either a range or an entire row or colummn) Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Moving between "row" and "range" formats in VBA
cells(i,5).entireRow
rows(3).Cells(1,1).Offset(0,4) From the immediate window: i = 6 ? cells(i,5).entireRow.Address $6:$6 ? rows(i).Cells(1,1).Offset(0,4).Address $E$6 -- Regards, Tom Ogilvy "kls" wrote in message ... In general, I need to know; if I come upon a certain row, using the Range-Cells technique, perhaps in a loop, having arrived there, is there a way to activate the whole row? (I'm trying to learn how to move back and forth between these two types of ways of identifying and altering either a range or an entire row or colummn) Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
All times are GMT +1. The time now is 08:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com