+ Reply to Thread
Results 1 to 4 of 4

Return Blank instead of False

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    56

    Post Return Blank instead of False

    Hi,

    I have this code

    Please Login or Register  to view this content.
    If i press cancel, the TextBox1 is populated with 'False' . This creates a problem when i try to attach the file to Outlook, as it cant find the file path. So i need to return "Blank" (nothing at all) when cancel is pressed.

    Any suggestions?
    Last edited by vlady; 11-05-2012 at 08:33 PM.

  2. #2
    Forum Contributor
    Join Date
    07-05-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2016
    Posts
    165

    Re: Return Blank instead of False

    First, put your code in a proper block as per forum rules.

    Then try this:

    Please Login or Register  to view this content.
    Click on the * icon if this post has been helpful.

  3. #3
    Registered User
    Join Date
    10-24-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Return Blank instead of False

    Thanks that worked

  4. #4
    Forum Contributor
    Join Date
    07-05-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2016
    Posts
    165

    Re: Return Blank instead of False

    Okay, glad I could help. Please mark as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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