Thanks. That did the trick.
That's what I ended up doing
----- Forwarded by KATHLEEN M WHALEN/NE/USCS on 04/05/01 08:52 AM -----
"HTML Code Clinic" <html_code_clinic@p...> AT smtplink
04/05/01 05:37 AM
To: "HTML Code Clinic" <html_code_clinic@p...> AT smtplink@c...
cc: (bcc: KATHLEEN M WHALEN/NE/USCS)
Subject: [html_code_clinic] [html_code_clinic]Re: Attached Excel
My only suggestion is that you tell the link to open in a new window. That
way, you'll still probably lost a window, but you'll keep the one
important to the client.
<a href="Someurl.com" target="_blank">
that will open a new window.
- Danger
----- Original Message -----
From: <KATHLEEN.M.WHALEN@c...>
To: "HTML Code Clinic" <html_code_clinic@p...>
Sent: Wednesday, April 04, 2001 9:14 PM
Subject: [html_code_clinic] Attached Excel
> I have a link on my page to an Excel spreadsheet. This spreadsheet >
contains some self-contained (virus clean) macros. When I click on the
> link, I receive a message that states:
> "The workbook you are opening contains macros. Some macros may contain
> harmful viruses. If you are sure this workbook is from a trusted
source, > click Yes. If you are not sure and want to prevent any macros
from
> running, click No."
>
> When I choose YES, the Excel file opens and the IE 5.0 window closes.
>
> I have two questions.
> 1. Since this is an intranet site and all files are "safe", can this >
message be disabled?
> 2. Is there a way to open the spreadsheet and leave IE open
> simultaneously?
>
> My html looks like this.
>
> <ul class=collapsed id=cba>
> <li>
> <a href="e:\new project information\imp information\CBA
> Information\CBA Information Document.doc">Cost Benefits Analysis
> Document</a>
> </li>
> <li>
> <a href="e:\new project information\imp information\CBA
> Information\CBA template excel version.xls">Cost Benefits Analysis
> Workbook</a>
> </li>
> <li>
> <a href="e:\new project information\imp information\CBA
> Information\Project Cost Estimation Shreadsheet.xls">Project Cost
> Estimation Workbook</a>
> </li>
> </ul>