For everyone with a simular question; I did it like this:
Create a Run Script-step and insert the line below on the script-tab:
Application.Macros(vbldGlobal).Add "WEEKDAY_NUMBER", Weekday(Date)
After running this step there is a Global macro called WEEKDAY_NUMBER, which contains the number of the day(1 = sunday; 7 = saturday).
|