+ Reply to Thread
Results 1 to 5 of 5

how can i place blank on entire column value contains "00-01-1900" through VBA

  1. #1
    Registered User
    Join Date
    08-31-2017
    Location
    Sydney, Australia
    MS-Off Ver
    2013
    Posts
    13

    how can i place blank on entire column value contains "00-01-1900" through VBA

    HI. I want to place blank (" ") on entire column . there are so many "00-01-1900" values . so i want to replace as blank (" "). is it possible by VBA.

    Please guide me

    heaps thanks in advance

  2. #2
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: how can i place blank on entire column value contains "00-01-1900" through VBA

    You could do a find and replace...
    Or, if you select a range of cells and type in a value and then hit Ctrl+Enter it will fill in that range with the value that you entered into the first cell.
    Regards,
    Stephen

    If you feel someone has helped you please thank them and click on the star on their post to add reputation.
    Please ensure that you use code tags where relevant, and mark solved threads as solved.
    Most of all please be respectful and understanding of others.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: how can i place blank on entire column value contains "00-01-1900" through VBA

    Where does 00-01-1900 come from?

    That is generally a cell formatted as date, that contains 0
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    08-31-2017
    Location
    Sydney, Australia
    MS-Off Ver
    2013
    Posts
    13
    Quote Originally Posted by FDibbins View Post
    Where does 00-01-1900 come from?

    That is generally a cell formatted as date, that contains 0
    Yes. You are right. Its actually 0 but that column has been formatted to date format. If vlookup returns blank in date formatted column, it gives 00-01-1900. Can you please help me out. Thanks

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: how can i place blank on entire column value contains "00-01-1900" through VBA

    Perhaps something like...
    =is(your-formula<1,"",your-formula)

+ 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] Filter Column "B" Array and Place Ok Column "A"
    By sanju2323 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2015, 05:55 AM
  2. [SOLVED] Remove the values if find in 3 column's "00-01-1900 or 0"
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-08-2014, 02:59 AM
  3. [SOLVED] Replace all BLANK cells in column with header title "Balance" to "0"
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-21-2014, 09:25 AM
  4. Applying a "Left" formula to an entire column with heading "ValueCol"
    By aad401 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2012, 04:14 PM
  5. If I click the Vendor 1 column of cell "J13" that value goes to place in worksheet of "Ve
    By suresh mongam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2012, 02:41 PM
  6. Pulling an entire Column "IF" a cell contains "x"
    By jdskin2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-23-2012, 01:44 PM
  7. Pulling an entire Column "IF" a cell contains "x"
    By jdskin2 in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 02-14-2012, 01:31 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