Hi All,
I have resolved this issue by using the code the following way:
The above code gives me the correct values for any dates selected with SAP GUI Calendar object.
Thank you to all those that have tried to help with this issue.
I have resolved this issue by using the code the following way:
Code:
Dim tr
SAPGuiSession("Session").SAPGuiWindow("Year Overview 2005 RR0").SAPGuiCalendar("Calendar").setDate "3/Jan/2005"
tr = SAPGuiSession("Session").SAPGuiWindow("Year Overview 2005 RR0").SAPGuiCalendar("Calendar").GetROProperty("StartSelection")
msgbox SAPGuiSession("Session").SAPGuiWindow("Year Overview 2005 RR0").SAPGuiCalendar("Calendar").Object.GetDateTooltip(tr)
msgbox SAPGuiSession("Session").SAPGuiWindow("Year Overview 2005 RR0").SAPGuiCalendar("Calendar").Object.GetColor(tr)The above code gives me the correct values for any dates selected with SAP GUI Calendar object.
Thank you to all those that have tried to help with this issue.


