+ Reply to Thread
Results 1 to 2 of 2

error trying to use "Application.WorksheetFunction.Sum(CountIfs"....in vba

  1. #1
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,712

    error trying to use "Application.WorksheetFunction.Sum(CountIfs"....in vba

    Hi,

    I have enclosed a file that may help.

    I can use the following type function on the excel sheet

    =sum(countifs(.................))

    however, when i try to do the same thing via excel vba i get a compile error.

    see enclosed file for more details.

    is this even the best way to do this?
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,712

    Re: error trying to use "Application.WorksheetFunction.Sum(CountIfs"....in vba

    i think i figured it out.......i am enclosing the file.


    but i also wanted to know is this the best way to do this calculation via vba or is there another way via vba that is better
    Attached Files Attached Files

+ 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