K
Kristina Conceicao
Some of our users frequently need to combine worksheets from several
sources into a single workbook. Some of the worksheets come from files
that originated on the mac; some from files that originated on a PC.
All of the files contain lots of dates. Because different date systems
were used to create the files, some dates are wrong in the final
workbook. I'd like to warn the users when they're copying a worksheet
from a 1900 date system workbook into a 1904 date system workbook, and
vice versa.
After consulting help, I took a shot at creating a class module. I
think I got it right, because I was able to "trap" the NewWorkbook
event. However, I can't figure out how to trap a move or copy of a
worksheet. Is there any way to do this? I need the code to work in
Excel 98 (via Classic), Excel 2004 and Excel XP.
For now, I'm resorting to writing my own move/copy code that will
perform the necessary checks, and will ask the users to use it in place
of the default menu item.
Thanks for any and all help,
Kristina
sources into a single workbook. Some of the worksheets come from files
that originated on the mac; some from files that originated on a PC.
All of the files contain lots of dates. Because different date systems
were used to create the files, some dates are wrong in the final
workbook. I'd like to warn the users when they're copying a worksheet
from a 1900 date system workbook into a 1904 date system workbook, and
vice versa.
After consulting help, I took a shot at creating a class module. I
think I got it right, because I was able to "trap" the NewWorkbook
event. However, I can't figure out how to trap a move or copy of a
worksheet. Is there any way to do this? I need the code to work in
Excel 98 (via Classic), Excel 2004 and Excel XP.
For now, I'm resorting to writing my own move/copy code that will
perform the necessary checks, and will ask the users to use it in place
of the default menu item.
Thanks for any and all help,
Kristina