[Use your browser's BACK button to return to the PRIME FAQ Page or click here if you came directly to this page.]
We wrote this FAQ to answer the many questions we receive on this topic from our clients and other inquiring minds in the many electronic communities we frequent.
Q: I am using TimeIt with great success, except for backing up my TimeIt data. When I copy the TimeIt.xls file to my floppy drive, the code changes for the Start TimeIt toolbar button. The result is the next time I attempt to start the program, it looks at my floppy drive for the file. I just want to back up the data in case of a hard drive crash.
Q: I accidentally saved my TimeIt.xls file as another name. Now the Start TimeIt toolbar button points to the wrong file. How do I fix things to look back to my original file when I click on the Start TimeIt toolbar button?
A: (Quick introduction for readers not familiar with TimeIt ... TimeIt is a time tracker project we developed using Excel VBA for Office Computing's cover story in issue 4 (October 1997). TimeIt logs the hours spent on a client or a task, and then crunches the data so you can analyze and maximize your performance. Find out more about this and other article's we've done on our Resources page.
Here's what is happening. The TimeIt toolbar's Start TimeIt button is probably pointing to an invalid/undesired path (in the case of a save to a floppy disk, it's A:\) for the StartTimeIt macro. To fix things follow these steps:
Another Excel behavior that you should understand is that all Excel toolbars, custom or otherwise, get copied into your
One last variation, just so you're aware of it. The "long way around the barn" trick is to tell the custom toolbar button the precise path on your hard disk where a specific macro lives. If, for example, your hard-disk based copy is:
C:\Backup\Trash\TimeIt Test\TimeIt01\TimeIt.xls
then do this: Tools / Customize / right-click Start TimeIt button / Assign Macro and type in exactly this:
'C:\Backup\Trash\TimeIt Test\TimeIt01\TimeIt.xls'!StartTimeIt
then OK / Close. The problem with this approach is that every time you choose File / Save As, this disruption will occur. The solution is: don't save the file to a floppy backup from within Excel; do it from Windows Explorer instead. We took you the long way around the barn here just so you could see what was happening behind the scenes and understand what Excel's doing.