+ Reply to Thread
Results 1 to 6 of 6

Disable/Enable a rountine

  1. #1
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Disable/Enable a rountine

    The attached has what I need. I sent this in another time for another reason, but just can't stop adding new ideas to my program, so here it is again and I would like to know how to disable or enable a routing. I think the attached is well explained. If not then you know I ain't no expert on Excel.

    Thanks to Dangler for his solution to the original file.


    Jerry
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Disable/Enable a rountine

    There are so many ways to do this.

    This is one from many.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Re: Disable/Enable a rountine

    Bo_Ry, that works, but could you tell me what [N1:01] does?

    Thanks

    Jerry

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Disable/Enable a rountine


  5. #5
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Re: Disable/Enable a rountine

    Ok, copied it over to my main program and found that my Yes and No drop-down had to be capitalized so it would match the subroutine you wrote where they were in all CAPS. Why is that? Maybe this is why I was having so much trouble with Validations. BTW, I figured out what the [N1:O1] was used for. My fault.


    Thanks for your help.

    Jerry
    Last edited by jevicha2; 02-27-2021 at 10:29 PM.

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Disable/Enable a rountine

    By default, VBA is case-sensitive.

    Please Login or Register  to view this content.
    Put Option Compare Text To make case-insensitive.

    Please Login or Register  to view this content.
    or change all text in lower case
    Please Login or Register  to view this content.

+ 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] Button enable and disable...
    By Will03 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-25-2013, 10:00 AM
  2. Enable/disable copy paste (disable part not working)
    By timtim89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2012, 07:23 PM
  3. Enable and disable
    By rajeev.raj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-10-2010, 02:50 AM
  4. Enable / Disable CD-ROM thru VB
    By Lochdanon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2009, 10:43 AM
  5. [SOLVED] Using Checkboxes to enable/disable vb
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-15-2006, 12:45 PM
  6. [SOLVED] Macro Enable/Disable
    By Marcus B in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-22-2006, 10:55 AM
  7. Toolbars Disable/Enable
    By skrol in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2005, 11:45 AM
  8. [SOLVED] Enable/Disable Macros
    By Ben Schaum in forum Excel General
    Replies: 1
    Last Post: 01-21-2005, 12: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