Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
vba equivalents of set.name and define.name
I'm converting an old xlm file to vba. What are the vba
equivalents of set.name and define.name? Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
vba equivalents of set.name and define.name
These refer to Defined Names within Excel, which in the product is created
via menu InsertNameDefine ... and provide the name, and the RefersTo value. In VBA that can be done by building the name, and then assigning a value to the range ActiveWorkbook.Names.Add Name:="Bob", RefersTo:=Range("A1") Range("Bob").Value = 123 A simpler way of defing the name is from a range Range("A1").Name = "Bob" and set the value as before -- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) "John Smith" wrote in message ... I'm converting an old xlm file to vba. What are the vba equivalents of set.name and define.name? Thanks. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
vba equivalents of set.name and define.name
This help file has a section on VB equivalents of XL4 functions.
http://www.microsoft.com/downloads/i...splayLang%3den -- Jim "John Smith" wrote in message ... I'm converting an old xlm file to vba. What are the vba equivalents of set.name and define.name? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
German Excel Menu equivalents | Excel Discussion (Misc queries) | |||
Are there equivalents of wildcard characters to use in hyperlink f | Excel Worksheet Functions | |||
International Equivalents | Excel Worksheet Functions | |||
Looking for Lotus 123 menu equivalents | Excel Programming | |||
Lotus Macro Commands to VBA equivalents | Excel Programming |