Name Property
Office FrontPage (Web Object) 2003 VBA Language Reference
Name Property

Returns a String that represents the name assigned to the specified object. Read-only String.

expression.Name

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The name of a file or folder is usually the last part of the URL. For example, if you have a URL of "C:\My Web Sites\Adventure Works\index.htm", the value of the Name property for the file is "index.htm". Similarly, "Images" is the value of the Name property for the folder in the URL "C:\My Web Sites\Adventure Works\Images".

Example

The following statement returns the application name with AppName as the string variable.

AppName = Application.Name
		




© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View