Thread: [Solved] Find Date Month
View Single Post
 
Old 07-21-2018, 11:39 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could also use:
strdate = Split(strdate, "-")(0)

I'd also have thought it fairly obvious that you could change:
MatchCase:=True
to:
MatchCase:=False
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote