ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   creating, concatinating, cell addresses (https://www.excelbanter.com/excel-programming/409014-creating-concatinating-cell-addresses.html)

Mal[_2_]

creating, concatinating, cell addresses
 
I have two cells. Both contain numbers, say x and y. How do I create a cell
address that uses one of the numbers as the column and the other as the row,
i.e cell:row x,column y
--
Mal

Jim Thomlinson

creating, concatinating, cell addresses
 
dim x as long
dim y as long

x = 1
y = 2
msgbox cells(x, y).value
--
HTH...

Jim Thomlinson


"Mal" wrote:

I have two cells. Both contain numbers, say x and y. How do I create a cell
address that uses one of the numbers as the column and the other as the row,
i.e cell:row x,column y
--
Mal



All times are GMT +1. The time now is 11:33 PM.

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