+ Reply to Thread
Results 1 to 2 of 2

Toggle button to change values in several tables

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Toggle button to change values in several tables

    Hi,

    I have several sheets in a workbook, all with a very similar structure.

    Each table contains a column called "Instructed Variations" which contains data entered manually.

    I'd like to have a toggle switch that switches the data in all of these columns between the values that are currently in there, or all zeroes.

    e.g. switch is "off" = all cells contain their normal values
    switch is "on" = all cells contain zero. If I want to get the values back I just turn the switch to "off" again.

    What's the easiest way to do this? This is probably dead easy with a macro but I don't have any experience with macros.

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Toggle button to change values in several tables

    Hi dzek

    Welcome to the forum.

    You are probably right that it easy with a macro but it is even easier with an "if" statement. How about for each cell the you want to effect:

    Please Login or Register  to view this content.
    Let me know if this works for you.

    Regards
    Alastair

+ 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. Replies: 1
    Last Post: 02-13-2014, 10:55 PM
  2. Using Toggle Button to hide/unhide rows that may change
    By jmpatrick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2011, 09:48 AM
  3. Command button code that fills two combo box values and a toggle in cell
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-03-2010, 12:03 AM
  4. Toggle change control button face id & caption
    By jpexcel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2009, 08:05 AM
  5. Toggle change control button face id & caption
    By mikeburg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2005, 10:05 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