Or maybe DateD0 = Format(CDate(wbMacro.Sheets(1).Cells(2, 5).Value), "yyyy/mm/dd")
DateD0 = Format(CDate(wbMacro.Sheets(1).Cells(2, 5).Value), "yyyy/mm/dd")
Please take the time to read the Forum FAQ
View Tag Cloud
Forum Rules