+ Reply to Thread
Results 1 to 3 of 3

Clear Values but Retain Formulas

  1. #1
    Registered User
    Join Date
    03-14-2024
    Location
    Hobart
    MS-Off Ver
    2308
    Posts
    5

    Clear Values but Retain Formulas

    Hello,

    I am trying to create a form that will be used multiple times a day. I have criteria drop down list in cells F6:F16, with corresponding scores in G6:G16. G6:G16 have formulas to look up criteria if F6:F16 and result in appropriate score. I need VBA code for a RESET button so that the scores in G6:G16 are cleared but the formula is retained so that the next time form is used, user can just hit the reset button and upon selection of criteria from dropdown list in Col F, Col G is automatically filled.

    I have a lot of variations but most of them result in removing values and formulas both.

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,545

    Re: Clear Values but Retain Formulas

    Formulas in column G refer to data in column F. So all you need to do is clear the data in column F:
    Please Login or Register  to view this content.
    Artik

  3. #3
    Registered User
    Join Date
    03-14-2024
    Location
    Hobart
    MS-Off Ver
    2308
    Posts
    5

    Re: Clear Values but Retain Formulas

    Mate you are a legend. No wonder you are a Forum Expert. Thank you so much!

+ 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. Need to allow users to insert a row to a table, but retain the formulas
    By jayhawk71 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-17-2015, 10:03 PM
  2. How to add new sheet and retain formulas
    By kevphil in forum Excel General
    Replies: 2
    Last Post: 03-15-2013, 01:19 PM
  3. Clear values, save formulas; Recalculate
    By itsunclebill in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-21-2010, 06:38 PM
  4. clear data, retain formula/named ranges
    By inky in forum Excel General
    Replies: 2
    Last Post: 01-28-2008, 05:56 PM
  5. How do I clear data values wthout losing the formulas?
    By genaksdal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-08-2005, 01:50 PM
  6. clear the values, but not the formulas in a range
    By aidy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2005, 04:05 PM
  7. Replies: 2
    Last Post: 04-18-2005, 01:06 PM

Tags for this Thread

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