I copied this code from another post, and I'm now getting this error:
Expected ';'
File:script.js
Line:38
Sub updateDateDiff
Can you help?
Here's the code:
function msoxd_my_Date2::OnAfterChange(eventObj)
{
if (eventObj.IsUndoRedo)
{
return;
}
Sub updateDateDiff
Dim fromDate
Dim toDate Dim days
Dim daysNode
set ...