Thanks Bill.
I did discover that by recording macro in 2007. But the question is more
deep rooted (sorry for being terse in my previous post).
I know there is no written commitment by MS to ensure that macros will
behave the same, but atleast they should not regress. Because now I am not
sure which macros will work and which will fail (for the features that have
not changed).
As I continue my journey I found that now the Sheet.Delete macro throws up
and message box (ok / cancel) which was not there earlier.
This is good news for development community because they will continue to
earn and survive with each new release of MS products. But as a consumer, it
puts question mark on ROI's of investments which many times go beyond few
years.
Any way, its different usless debate (as I doubt if MS reads this and doubt
more if they fix this).
Thanks for your answer.
----------------------------------------------------------
> Should you be using the Open method, instead of Add? (This works for me
> with Excel 2000.)
>
> Workbooks.Open "c:\temp\abc.htm"
Bill Renaud - 16 Sep 2007 22:49 GMT
The Workbooks.Add method was always intended to add a new, blank Excel
workbook to the workbooks collection. Any parameter that was included as
an argument was to specify a template (Chart, Excel 4 Macro sheet, or
worksheet).
<<As I continue my journey I found that now the Sheet.Delete macro
throws up a message box (ok / cancel) which was not there earlier.>>
I (still) use Excel 2000, and you always had to turn DisplayAlerts off
before deleting any sheets, otherwise the prompt would appear:
Application.DisplayAlerts = False
Worksheets("Data").Delete
Application.DisplayAlerts = True
So in Excel 2007, is there some new layer of security on top of this?

Signature
Regards,
Bill Renaud