+ Reply to Thread
Results 1 to 4 of 4

Disable Multiple TextBoxes

  1. #1
    Forum Contributor
    Join Date
    04-14-2017
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    148

    Disable Multiple TextBoxes

    Hi

    I have this list box that when a record is selected from the list, 18 textboxes are populated. I would like to these textboxes to be enable. I know the code to individually disable them. I was wondering can I do this in one statement instead of typing each code for each textbox.

    I have an edit button, should the user click on the edit button the textbox must be enable to edit the data.

    Thanks

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Disable Multiple TextBoxes

    Simplest is to add them to an array

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor meabrams's Avatar
    Join Date
    10-03-2014
    Location
    USA
    MS-Off Ver
    2007, 2010, 2013, 2016
    Posts
    451

    Re: Disable Multiple TextBoxes

    If all textbox are "Textbox1 , Textbox2" and so on try...

    Please Login or Register  to view this content.
    Bramz

  4. #4
    Forum Contributor
    Join Date
    04-14-2017
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    148

    Re: Disable Multiple TextBoxes

    Hi Meabrams

    Thanks.

    Code worked

+ 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. [SOLVED] Select all text in textboxes when i click textboxes in simple way
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2017, 03:27 AM
  2. Replies: 0
    Last Post: 02-04-2015, 03:46 PM
  3. [SOLVED] Disable TextBoxes and imput the correct data Based on ComboBox Choice
    By Nuno Neves in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-29-2014, 07:16 AM
  4. Disable textboxes if Combobox is not selected first
    By puuts in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2013, 10:58 AM
  5. Enable & Disable mutiple Textboxes
    By coreytroy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2012, 01:04 AM
  6. Disabling multiple textboxes
    By austin350s10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2011, 03:59 PM
  7. CheckBox To Disable TextBoxes
    By markrennolds in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-30-2010, 03:42 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