ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copying name box to another sheet (https://www.excelbanter.com/excel-programming/370791-copying-name-box-another-sheet.html)

radu

copying name box to another sheet
 
How could I copy the name box from a sheet to another sheet?
Ex. In sheet 1, I give A1 the name "ABC". How could this be replicaded in
the sheet 2?

Tom Ogilvy

copying name box to another sheet
 
Worksheets("Sheet2").Range("A1").Name = "ABC"

but this will replace the name used in sheet1 unless it was a sheet level
name.

--
Regards,
Tom Ogilvy


"radu" wrote:

How could I copy the name box from a sheet to another sheet?
Ex. In sheet 1, I give A1 the name "ABC". How could this be replicaded in
the sheet 2?



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

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