Results 1 to 3 of 3
  1. #1
    mujaqo is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2008
    Posts
    13

    Changing control property

    Hi, I need to change control property in a form (CommandButton.visible) for button name found in a string, I tried the following and for sure doesn't work, please help

    Dim ButtonName as String
    ButtonName = "Commandbutton01"
    ButtonName.Visible = False

  2. #2
    mujaqo is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2008
    Posts
    13
    got it ...
    Me(ButtonName) .Visible = False

  3. #3
    dniezby is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2013
    Posts
    183
    Dang it. I was finally going to be able to help someone...LOL. Since I'm sucking up all the help from everyone else.

    It is a good feeling when you figure something out though isn't it?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 01-28-2013, 11:52 AM
  2. Column Control Source Property
    By rts in forum Reports
    Replies: 6
    Last Post: 05-17-2012, 06:42 PM
  3. Replies: 9
    Last Post: 05-07-2012, 06:11 PM
  4. Replies: 3
    Last Post: 01-04-2012, 05:16 PM
  5. Replies: 7
    Last Post: 10-03-2011, 12:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums