+ Reply to Thread
Results 1 to 4 of 4

Disable/make invisible command button on userform when table created

  1. #1
    Registered User
    Join Date
    05-10-2015
    Location
    Ryton
    MS-Off Ver
    Office 2013
    Posts
    49

    Disable/make invisible command button on userform when table created

    Hi All

    I have a problem in my project which I have searched for aa solution to and came up with this thread

    http://www.excelforum.com/excel-prog...has-value.html


    I cannot seem to make it work for my userform

    The button in question is Commandbutton3 on frmmemb which creates a table when the first entry is submitted

    I would ideally like to make this button invisible or deleted forever after it has been used

    can anyone shed some light on this please

    regards Moose
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-10-2015
    Location
    Ryton
    MS-Off Ver
    Office 2013
    Posts
    49

    Re: Disable/make invisible command button on userform when table created

    I worked it out

    I put the code in the wrong place

    now it behaves itself

    thanks to those who took a peek though

  3. #3
    Forum Contributor
    Join Date
    09-03-2015
    Location
    IE
    MS-Off Ver
    2003 - 2016
    Posts
    258

    Re: Disable/make invisible command button on userform when table created

    Check if the table has been created when loading the userform, and hide/not hide accordingly.

    Please Login or Register  to view this content.
    You still need to hide it once the table is created in code - I didn't take the time to try and find where that is...

  4. #4
    Registered User
    Join Date
    05-10-2015
    Location
    Ryton
    MS-Off Ver
    Office 2013
    Posts
    49

    Re: Disable/make invisible command button on userform when table created

    Thanks

    I put one button over another and hid the one which created the table
    then the other button can resume normal service

+ 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. 'Invisible' Command Button
    By DavG63 in forum Word Programming / VBA / Macros
    Replies: 5
    Last Post: 12-03-2014, 11:35 AM
  2. [SOLVED] How to make a Command button run the "FORM" command to fill/populate a table?
    By jrobin7 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-21-2012, 12:26 PM
  3. [SOLVED] UserForm Command Button - how to make it change appearance when clicked
    By schmidt62 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2012, 10:53 AM
  4. make userform move with command button
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-18-2008, 11:07 AM
  5. Command to make Excel open invisible?
    By ebahr in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-26-2008, 02:44 PM
  6. Command Button Invisible
    By JR_06062005 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-17-2006, 03:40 PM
  7. [SOLVED] How do I make a command button invisible or visible?
    By Mandora in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2005, 10:06 AM

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