Thread: [Solved] Insert date when save file
View Single Post
 
Old 01-29-2011, 02:48 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Hello,
Quote:
It works great on excel 2003, but not in excel 2007 (running under W7).
In what way isn't the code working? Do you get an error or does it just appear not to do anything?

If it doesn't seem to be doing anything, make sure that:
(1) the code is in the ThisWorkbook class module of the workbook
(2) macros are enabled
(3) events are enabled (type Application.EnableEvents=True into the immediate window)

If it gives you a runtime error then please give us the details of the error. It could be the case that
(1) a sheet called Sheet1 doesn't exist
(2) Sheet1 is protected.

Hope that helps...
Reply With Quote