Results 1 to 19 of 19

Thread: Count of Records IF

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Microsoft Word MVP 2003-2009 VBAX Guru gmaxey's Avatar
    Joined
    Sep 2005
    Posts
    3,411
    Location

    Count of Records IF

    I have a worksheet with a column "Folder" and a column "Name"

    I need to return the count where the Length of the folder path (Folder) and length of the File name "Name" exceeds 256

    I have tried =CountIf(Len([Folder])+Len([Name]),>256) and several variation around that theme but obviously on the wrong track.

    I need this to be a value returned in a VBA procedure:

    e.g.,
    Msgbox =CountIf(Len([Folder])+Len([Name]),>256)
    Hope someone can help. Thank you!!
    Last edited by Aussiebear; 07-09-2025 at 01:39 PM.
    Greg

    Visit my website: http://gregmaxey.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •