ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Selecting a Cell inside a range (https://www.excelbanter.com/excel-programming/305982-re-selecting-cell-inside-range.html)

Bernie Deitrick

Selecting a Cell inside a range
 
Khlaudhya,

Range("Prices").Cells(1, product).Activate

HTH,
Bernie
MS Excel MVP

"Khlaudhya" wrote in message
...
And the column is a variable "product"

"Khlaudhya" wrote:

Hi there,

I have a given range named "Prices" selected and I want to activate the

third column and first row of that range.

I have

Range("Prices").Select

Cells(1, 3).Activate

but this returns the cell "C1" activated.


Any ideas?

Thank you very much.

Regards,

Khlaudhya





All times are GMT +1. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com