+ Reply to Thread
Results 1 to 2 of 2

Len IF Code

  1. #1
    Registered User
    Join Date
    12-08-2008
    Location
    montreal
    Posts
    69

    Len IF Code

    we are trying to use the following IF len code to identify cell d5(in currency format) when d5 equals $0.00 we want the msgbox to pop up.

    Please Login or Register  to view this content.
    Last edited by vasto; 09-01-2009 at 01:51 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Len IF Code

    Why not test the value ?

    Please Login or Register  to view this content.
    If the $ is applied via formatting it won't affect the underlying .Value of the cell (ie 0 formatted as $0.00 has a Len of 1 not 5) if you want to test Len of cell content post-formatting you would need to test against the .Text property.

+ 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