C
cate
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);
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);