+ Reply to Thread
Results 1 to 3 of 3

Code to make Negatives... Blank

  1. #1
    Registered User
    Join Date
    07-09-2013
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2007
    Posts
    3

    Code to make Negatives... Blank

    I have a sheet someone gave me that has a macro to highlight and filter blanks from A40:A5040. Sometimes the numbers in the column are negative and I would like to add a line to the code before the filtering to make any negative number result in a blank cell so they are filtered out. Can anyone help with this?

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Code to make Negatives... Blank

    Could you please post your code?

  3. #3
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Code to make Negatives... Blank

    Please Login or Register  to view this content.
    This is a simple version. Untested.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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