+ Reply to Thread
Results 1 to 2 of 2

#VALUE! Error when clearing cell contents from a module

  1. #1
    Registered User
    Join Date
    09-06-2017
    Location
    portland, oregon
    MS-Off Ver
    2016
    Posts
    33

    #VALUE! Error when clearing cell contents from a module

    Hi everyone! I am experiencing a #VALUE error when clearing a range of cells using a submodule. I do not get the error when I select the range with my mouse and right click "Clear Contents". Any help would be appreciated! Here is my code:

    Clearing Range
    Please Login or Register  to view this content.
    Here is the formula that is throwing #VALUE error

    Please Login or Register  to view this content.
    Here is the function I am using to count red cells

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: #VALUE! Error when clearing cell contents from a module

    Hello jdcortez,

    Did you notice that most of your posted code has nothing to do with clearing cells? Why include the cell counting?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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] run-time error 13 with code - Clearing Contents of cells
    By Chardo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2014, 03:23 AM
  2. Clearing contents of adjacent cell.
    By Trevasaurus in forum Excel General
    Replies: 8
    Last Post: 01-30-2013, 10:36 AM
  3. Clearing Cell Contents
    By dandavis1 in forum Excel General
    Replies: 1
    Last Post: 09-11-2008, 05:35 AM
  4. [SOLVED] Clearing cell contents
    By Gina in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2006, 04:55 AM
  5. Selectively Clearing cell contents
    By jdd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-21-2006, 11:10 PM
  6. Clearing cell contents on CellUpdate
    By loopoo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2005, 09:20 AM
  7. Clearing Contents of Cell
    By Burt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2005, 10:06 AM
  8. Clearing cell contents from within a function
    By David.S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-05-2005, 11:22 AM

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