I'm fairly new at VBA. Using Excel 2007 VBA, I'm trying to count the number of entries in the "H" column of the "WOMade" worksheet that have a date in a specific month and year (ignoring the day), but all the methods I've tried aren't working.
Among other ideas, I've tried:
WorksheetFunction.CountIf(Sheets("WOMade").Columns("H:H"), "June-15")
And
WorksheetFunction.CountIf(Format(Sheets("WOMade").Columns("H:H"), "mmyyyy"), "062015")
And
WorksheetFunction.CountIf(Sheets("WOMade").Columns("H:H"), "June/" & "/2015)
And
WorksheetFunction.CountIfs(Sheets("WOMade").Columns("H:H"), ">=" 6/1/2015, Sheets("WOMade").Columns("H:H"), < 7/1/2015)
Any ideas?