Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default reading HTML

I'm posting back some HTML, as a file, to a client using a file
extension of .xls.

The open file dialog properly recognizes it, asking the user if he
wants open the file with EXCEL.EXE. Fine so far.

But certain things just aren't right. Really not right. Just a
couple manual fixes and everything starts to look better. (deactivate
links, background color ...)

Is there a way to include a macro in the post back data? What about
exe command line parameters. I can't rework the data, since it comes
from various sources. But, background for example, should always be
white; and links never 'hot'.

Thank you.



Addition info for those who can use it (from the server side)

$Response-AddHeader("Content-Type","application/vnd.ms-excel");
$Response-AddHeader("Content-Disposition","attachment;filename=$
{filename}.xls");
$Response-BinaryWrite($postcontent);
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from processing HTML? IE paste raw html. nick Excel Discussion (Misc queries) 2 April 21st 23 05:12 PM
Question about http://www.sulprobil.com/html/vlookupall.html W2llie Excel Programming 0 January 2nd 09 05:58 PM
Problem reading HTML code from Excel-VBA Erik Klausen Excel Programming 0 November 16th 06 08:58 AM
Problem reading HTML code from Excel-VBA Erik Klausen Excel Programming 0 November 16th 06 08:47 AM
reading html when hyperlink address not hyperlink text diplayed Kevin Excel Programming 1 December 4th 03 10:13 PM


All times are GMT +1. The time now is 09:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"