+ Reply to Thread
Results 1 to 4 of 4

Button to open entry form

  1. #1
    Registered User
    Join Date
    03-21-2014
    Location
    West Midlands, UK
    MS-Off Ver
    Excel 2007
    Posts
    6

    Button to open entry form

    Excel has a built in data entry form window which is opened from the ribbon, how can I create a button which opens this form for a specific table on the worksheet. It should allow the user to create or edit entries in the table. I tried creating a macro to select the data range and open the form, but this returns an error.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,969

    Re: Button to open entry form

    When asking for help on errors you get on your code, PLEASE show your code and the text of the error message.

    Write code to select the table you want. Then

    Please Login or Register  to view this content.
    Change Sheet1 to your actual Sheet codename.

    If this sounds like what you already did, attach your file, or at least show all of your code.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-21-2014
    Location
    West Midlands, UK
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Button to open entry form

    to be honest, I don't know any code and was just trying to create a macro by selecting the table manually and clicking the ribbon button. What code would I need to select the table?

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,969

    Re: Button to open entry form

    Can you attach your file? Need to see where the table is, etc.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Coding script error-cmd button to open form and for to add new entry to list
    By Southfish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2012, 05:43 AM
  2. add button to spreadsheet to open form
    By julie d in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2009, 01:00 PM
  3. Replies: 17
    Last Post: 05-19-2009, 11:34 AM
  4. [SOLVED] Command button on data-entry form
    By Susy in forum Excel General
    Replies: 1
    Last Post: 02-14-2005, 10:06 PM

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