ghudson
Registered User.
- Local time
- Today, 03:50
- Joined
- Jun 8, 2002
- Messages
- 6,194
How can I detect if the current Excel 2003 file is opened within an Internet Explorer web browser and not within the Excel.exe program?
I have an Excel file that is opened from a SharePoint site and all but a few of the 50+ users have no problem with the VBA in the file because their computer is opening the Excel file within the Excel.exe program. A few users so far [more users will be added going forward] have problems with the VBA that creates copies of the files worksheets and saves their output files back to the SharePoint site. Once the user’s computers XLS Excel Worksheet File Types are reset to not open the file with the Browse In Same Window option all is ok but I need to be proactive and run some VBA when the Excel file is opened to detect if the xls file is opened within an Internet Explorer web browser or within the Excel.exe program. It is an Excel 2003 file and most users have Excel 2003 but some are using Excel 2007 with Windows XP.
Anybody know how I can do this? Thanks in advance for your help!
I have an Excel file that is opened from a SharePoint site and all but a few of the 50+ users have no problem with the VBA in the file because their computer is opening the Excel file within the Excel.exe program. A few users so far [more users will be added going forward] have problems with the VBA that creates copies of the files worksheets and saves their output files back to the SharePoint site. Once the user’s computers XLS Excel Worksheet File Types are reset to not open the file with the Browse In Same Window option all is ok but I need to be proactive and run some VBA when the Excel file is opened to detect if the xls file is opened within an Internet Explorer web browser or within the Excel.exe program. It is an Excel 2003 file and most users have Excel 2003 but some are using Excel 2007 with Windows XP.
Anybody know how I can do this? Thanks in advance for your help!