Count periods in a word

C

carim.fam

Hi,

I am trying to come up with a VBA formula, which counts the number of
periods in a specific word ...

Thanks in advance for your help

Cheers
Carim
 
M

Michael Bednarek

I am trying to come up with a VBA formula, which counts the number of
periods in a specific word ...

Assuming that strWord contains the word in question:
varWord = Split(strWord,".")
lngNDots = UBound(varWord) - LBound(varWord)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top