Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Prompt for custom view on Spreadsheet open (2000/2003)

    What's the simplest way to prompt a user for which view they'd like to use on opening a spreadsheet? If a macro, what is the code for it?

    Thanks!

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Prompt for custom view on Spreadsheet open (2000/2003)

    You could create a Workbook_Open event procedure in the ThisWorkbook module of the workbook:

    Private Sub Workbook_Open()
    Application.Dialogs(xlDialogCustomViews).Show
    End Sub

    This code will run automatically when the workbook is opened (if macros are enabled), and display the Custom Views dialog.

  3. #3
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Prompt for custom view on Spreadsheet open (2000/2003)

    Has anyone told you yet today that you rock the world?!!

    Perfect - that worked - thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •