+ Reply to Thread
Results 1 to 2 of 2

Code failing to detect a null MsgBox value

  1. #1
    Forum Contributor
    Join Date
    09-07-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    358

    Code failing to detect a null MsgBox value

    Hey Guys,

    My code is below...

    Please Login or Register  to view this content.
    Why doesn't this work, it errors out on If Not myMonth Then

    Any ideas?

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Code failing to detect a null MsgBox value

    Treat myMonth as a Long:

    Please Login or Register  to view this content.
    Gary's Student

+ 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. Create new record via msgBox option if Search function return NULL/zero value
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2013, 07:19 AM
  2. [SOLVED] (Email worksheet) Show MsgBox when failing to save temp file
    By timmye in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2013, 11:47 PM
  3. Code failing after x = 281
    By sach_83 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-04-2011, 04:33 PM
  4. Code to replace null and not null strings
    By tigertim71 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2008, 05:07 PM
  5. [SOLVED] Detect NULL (??) range?
    By Ed in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2005, 01:06 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