M
middletree
I have a page which takes data in an HTML table, and exports it to an Excel
file. It works fine, but I want several things about the spreadsheet to look
different from the HTML version. Things like fonts and colors. I think I can
use a style sheet for the latter, but I haven't figured out how to remove
hyperlinks from some of the items. On the HTML page, the hyperlinks are
useful, but I don't want the spreadsheet to have them.
So on my ASP page which builds the Excel file, I have this:
<TH vAlign=top align=left width="7%"><A
href="DisplaySortableTickets.asp?SearchYes=true&selectTSE=200&Assist
Emp=&Status=&Environment=&CustomerCode=&date1=&date2=&am
p;DateSearch=&Sort=TKTID&SortToggle=1&ReportType=&ShowIntern
al=&ShowExternal=&searchtext=&SearchSDR=&SearchCustTicketID=
&RootCauseID=&CauseMatchType=">TKT ID:</A></TH>
How can I use ASP to remove the opening and closing <A> tags? A replace
function won't work, because it's different every time.
file. It works fine, but I want several things about the spreadsheet to look
different from the HTML version. Things like fonts and colors. I think I can
use a style sheet for the latter, but I haven't figured out how to remove
hyperlinks from some of the items. On the HTML page, the hyperlinks are
useful, but I don't want the spreadsheet to have them.
So on my ASP page which builds the Excel file, I have this:
<TH vAlign=top align=left width="7%"><A
href="DisplaySortableTickets.asp?SearchYes=true&selectTSE=200&Assist
Emp=&Status=&Environment=&CustomerCode=&date1=&date2=&am
p;DateSearch=&Sort=TKTID&SortToggle=1&ReportType=&ShowIntern
al=&ShowExternal=&searchtext=&SearchSDR=&SearchCustTicketID=
&RootCauseID=&CauseMatchType=">TKT ID:</A></TH>
How can I use ASP to remove the opening and closing <A> tags? A replace
function won't work, because it's different every time.