+ Reply to Thread
Results 1 to 3 of 3

Export Selection as .csv replace empty cells with "None"

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Export Selection as .csv replace empty cells with "None"

    Good day everyone,

    I am working with the following macro:

    Please Login or Register  to view this content.
    It asks, what range I would like to export as .csv, what I want to save it as and then exports as .csv. However I need my empty cells to be filled with a "none" value.

    How would I do it so this "none" value appears only on the output file and does not effect my base worksheet?

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Export Selection as .csv replace empty cells with "None"

    Laoghaire,

    Something like this should work for you...
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    06-24-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Export Selection as .csv replace empty cells with "None"

    Thank you very much.

    For any future people who search for this topic the code that works is as follows below:

    Please Login or Register  to view this content.

+ 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