+ Reply to Thread
Results 1 to 2 of 2

Help Toggling "Circle Invalid Data" & "Clear Validation Circles" via a single button

  1. #1
    Registered User
    Join Date
    05-13-2011
    Location
    Illinois
    MS-Off Ver
    Excel 2003
    Posts
    10

    Question Help Toggling "Circle Invalid Data" & "Clear Validation Circles" via a single button

    I have a protected sheet that I can only activate "Circle invalid data" via VBA (activated by a button).
    I was wondering if there is some VBA code that would allow me to activate and deactivate "Circle invalid data" via a single button. I am trying to use as little buttons as possible.
    Is this possible?

    Thanks in advance!
    Joe

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Help Toggling "Circle Invalid Data" & "Clear Validation Circles" via a single button

    You need a flag somewhere to record the state of you spreadsheet.

    either a cell

    or the button itself.

    This is the code to read and modify the alternative text of the button.

    I use this to show the text, you would use the flag to control your macro.

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

+ 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] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  2. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  3. [SOLVED] Data validation: allow entry into a cell if other three cells have "X", "Y" and "Z"?
    By RogerRangeRover in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2013, 04:49 AM
  4. Clear Form results in INCORRECT "Invalid Property" message....
    By B in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2006, 01:30 PM
  5. "Invalid property" after "Clear Form"
    By B in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2006, 12:10 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