I used VBA in Excel to calculate an expiration date for a spreadsheet, using OnTime. I only need to run the OnTime logic once and then I cancel it right away using Schedule=:false. That all works fine and I get the value I want. The problem is that every time I open the spreadsheet, the value recalculates because it doesn't see that I already set my value, expdate. Is there a way for me to keep this value in the spreadsheet after I set it the first time. It would be equivalent to hard-coding the value expdate to "3/31/06" except that I calculated it the first time the sheet is opened.
I hope this makes sense.
Thanks,
Alexis
I hope this makes sense.
Thanks,
Alexis