+ Reply to Thread
Results 1 to 2 of 2

user forms

  1. #1
    Registered User
    Join Date
    01-11-2005
    Posts
    13

    user forms

    Hi,

    is it possible for a user form to open automatically when the .xls doc containing it is opened?

  2. #2
    Chip Pearson
    Guest

    Re: user forms

    Use the Workbook_Open event procedure. In the ThisWorkbook code
    module, paste the following code:

    Private Sub Workbook_Open()
    userform1.Show
    End Sub



    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "sam1" <sam1.24kprn_1142195102.3195@excelforum-nospam.com> wrote
    in message
    news:sam1.24kprn_1142195102.3195@excelforum-nospam.com...
    >
    > Hi,
    >
    > is it possible for a user form to open automatically when the
    > .xls doc
    > containing it is opened?
    >
    >
    > --
    > sam1
    > ------------------------------------------------------------------------
    > sam1's Profile:
    > http://www.excelforum.com/member.php...o&userid=18280
    > View this thread:
    > http://www.excelforum.com/showthread...hreadid=521537
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1