Hi,

Is it possible for a VBA macron in an Excel sheet to determine whether the sheet has been opened within Excel or indide a browser?

I am using the command ActiveWorkbook.SaveCopyAs to save a copy of the sheet to a defined location, but it seems not to work correctly when opened within a browser.

Thanks,
Ian