Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for your reply.
I tried the code you sent me but a 1004 error when it executes Names("database").Delete Private Sub Workbook_Open() Dim s$ s = Names("database").RefersToR1C1 Names("database").Delete Names.Add "database", RefersToR1C1:=s End Sub Any suggestions Luis Verme "keepITcool" escribió en el mensaje ft.com... no you cant "change" namelocal as it's part of the index of the names collection. BUT you can remove it and replace it with a new name. dim s$ s=Names("database").referstor1c1 Names("database").delete Names.add "database", referstor1c1:=s the local name is now equal to english name: "database" -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Luis Verme wrote : Can I change the namelocal via VBA? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reading Multiple Files | Excel Worksheet Functions | |||
Reading fields from multiple new files | Excel Discussion (Misc queries) | |||
Reading dbf files | Excel Discussion (Misc queries) | |||
Problems with reading files | Excel Programming | |||
Reading all files in a folder | Excel Programming |