Results 1 to 3 of 3

If Statement in VB

Threaded View

  1. #2
    Registered User
    Join Date
    02-19-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003 and Excel 2007
    Posts
    37

    Re: If Statement in VB

    Try this - now returns a Date and Time whereas date returns just the date

    if date >= .range("E8") then
    
    msgbox "Cannot Submit Form"
    
    end if
    Last edited by mudraker; 03-03-2009 at 07:27 AM.

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