Share via


Export File Dialog Box

The Export File dialog box allows you to save the current or selected macro file to a specified location. The dialog box also enables you to specify a new name for a component.

You can access this dialog box by clicking Export <file name> on the File menu.

  • Save in
    Specifies the folder where the file will be stored.

  • History
    Displays the most recently exported files.

  • My Documents
    Displays the files and folders in the specified location.

  • Desktop
    Displays desktop files and folders .

  • Favorites
    Displays the contents of your Internet Explorer Favorites folder.

  • Navigate Back
    Returns to the most recently viewed folder, drive, or Internet location.

  • Up One Level
    Displays a list of folders or drives one level above the current folder.

  • Search the Web
    Closes the Export File dialog box and opens Internet Explorer.

  • Delete
    Deletes the selected file.

  • Create New Folder
    Creates a new folder in the current directory.

  • Views
    Displays the folder or documents in a variety of lists that include the folder or document icon and name, its size (documents only), type, and the date and time it was last modified.

    The following views are available from the Look in list:

    Large Icons: Displays files, folders, and other items in large icon format.

    Small icons: Displays files, folders, and other items in small icon format.

    List: Displays files, folders, and other items in a list format.

    Details: Displays the name, size, type and last-modified date of files and folders, and other items in a list format. To sort by a particular detail, click on its column header.

    Properties: Displays the names and properties of files, folders, and other items. When selected, the content pane divides in half: the item name is displayed on the left, while its properties are displayed on the right.

    Preview: Displays a preview of the file. When selected, this divides the content window in half: the left half displays the files and folders, while the right half displays a preview of the file.

    Thumbnails: Displays the files in thumbnail format.

  • Tools
    Contains a menu with a selection of tools. This menu currently has one choice, Delete, which deletes the selected file.

  • File name
    Defaults to the name of the project item (with a .vb file extension) as displayed in the Project Explorer.

  • Save as type
    Saves a file as a particular type from the following list:

    • Visual Basic Files (*.vb) — Lists project files with the .vb extension.

    • All Files (*.*) — Lists files of all types.

  • Save
    Saves the file under the name you provided in the File name text box.

You can select multiple project items for exporting. If you do this, Visual Studio Macros displays the Export File dialog box for each exportable item. If an error occurs during one of the export operations, or if you cancel the operation or dialog box for any of the exports, the entire action is canceled.

See Also

Reference

Property Pages Dialog Box