Hi All,
I need to to use dates in different formats in many of my Sub.
What i thought i could do is creat a sub as below and run the sub/function before i run my main sub.
and then run the code from the main subSub DateVars() Dim ddmmyy ddmmyy = Format(Date, "ddmmyy") End Sub
How can i get this to work?Sub DatePassTest() DateVars Cells(10, 4).Value = ddmmyy End Sub
Bookmarks