![]() |
Getting the value from a cell, and then using it as a name or R1C1 reference
|
Getting the value from a cell, and then using it as a name or R1C1 reference
Sub test()
ActiveWorkbook.Names.Add Range("A1").Value, "=Sheet1!$B$1" End Sub -- Rob van Gelder - http://www.vangelder.co.nz/excel "Art" wrote in message ... |
All times are GMT +1. The time now is 06:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com