Thread: Date in VBA
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
witek witek is offline
external usenet poster
 
Posts: 69
Default Date in VBA

Hi guys.

I have three variables, day, month and year.

How to create a valid date from them.

CDate needs expression, but it depends on regional settings, so
CDate ("5/6/2006") will return May 6th, or June 5th depends on settings.

I need something more universal.
Does it exist?