+ Reply to Thread
Results 1 to 9 of 9

excel data forms

  1. #1
    Registered User
    Join Date
    05-04-2007
    Posts
    42

    excel data forms

    Hi,
    I am trying to get an excel data form to open automaticaly for a spreadsheet every time I open the workbook. Does anyone know how this can be done???

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon phillb

    Try :

    Please Login or Register  to view this content.
    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    05-04-2007
    Posts
    42
    Thanks Dominic. Unfortunately I am actualy using a standard form automaticaly generated by excel and am unsure how to alter the code for this. Is there any other solution that you may know to this??? Any help would be much appreciated.

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Hi phillb

    I am actualy using a standard form automaticaly generated by excel
    Not sure what you mean by this. If you are referring to the standard dataform (Data > Form), then this is the dialog box opened automatically by the macro I supplpied.

    Can you expand?

    HTH

    DominicB

  5. #5
    Registered User
    Join Date
    05-04-2007
    Posts
    42
    I think that this may be the solution I am looking for. How do I enetr this new code???

  6. #6
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Hi

    Open just the spreadsheet you want to affect in Excel.
    Press Alt + F11
    Go to Insert > Module
    Copy the code from above into the large blank pane that appeared
    Go to File > Close and Return to Microsoft Excel

    This should then save with your workbook and run automatically every time it's opened.

    HTH

    DominicB

  7. #7
    Registered User
    Join Date
    05-04-2007
    Posts
    42
    Thanks. This seems to work a treat.

  8. #8
    Registered User
    Join Date
    05-04-2007
    Posts
    42
    If I wanted to add drop down menus relating to lists that I have, how would I go about creating these and putting them into the form???

  9. #9
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon

    If I wanted to add drop down menus relating to lists that I have, how would I go about creating these and putting them into the form???
    You don't. You have to enter all the data via textboxes. If you want that kind of thing you will need to program your own using a UserForm to enter data ...

    or

    You could utilise John Walkenbachs own form utility.

    http://j-walk.com/ss/dataform/index.htm

    This is a free add-in which does support dropdown boxes. When invoked the add-in adds an extra menu item to Excel's Data menu. Details of how to set up the dropdowns can be seen here, or accessed from the forms help file :

    http://j-walk.com/ss/dataform/cusomizing.htm

    HTH

    DominicB

+ 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