hi
I want to counting number of a specific word in all sheets on column F only
I have a vba code but it only works on the first sheet, I need to modify it to counting number of ( word ) on all sheets
I want to counting number of a specific word in all sheets on column F only
I have a vba code but it only works on the first sheet, I need to modify it to counting number of ( word ) on all sheets
VBA Code:
dim ran as range
dim cri as string, cri2 as string, cri3 as string
set ran = range(“f2:f100”)
cri = “*player*”
cri2 = “*teacher*”
cri2 = “*Engineer*”
userform1.label1 = worksheetfunction.countif(ran, cri )
userform1.label2 = worksheetfunction.countif(ran, cri2 )
userform1.label3 = worksheetfunction.countif(ran, cri3 )