View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
PK[_3_] PK[_3_] is offline
external usenet poster
 
Posts: 1
Default Months between two dates

Hello, I hope someone can help me!

I am using VBA in Excel XP with Windows 2000.

Suppose you have two dates (month and year for each).

What is the most efficient method for calculating the
count of months between these two periods?

Please note that I am counting whole months; I am not
concerned with fractional periods of time.

Your example code would be most appreciated.
Thanks in advance for your assistance.