Hallo,
wenn nur recht einfache Tabellen ben�tigt werden, gibt sich Excel mit einer einfachen
HTML-Tabelle zufrieden.
Probiere mal folgenden Code als 'test.asp'.
>>---------------------------->>
<%OPTION EXPLICIT
if not IsEmpty(Request.QueryString("Excel")) then
Response.ContentType = "application/vnd.ms-excel"
end if
%><html><body style="font-family:Comic Sans MS"><table>
<colgroup>
<col width="30">
<col width="30">
<col width="30">
<col width="60">
</colgroup>
<tbody>
<tr><td>1</td><td>2</td><td>3</td><td style="font-size:125%">=Summe(A1:C1)</td></tr>
<tr><td>4</td><td>5</td><td>6</td><td style="font-size:125%">=Summe(A2:C2)</td></tr>
<tr><td>7</td><td>8</td><td>9</td><td style="font-size:125%">=Summe(A3:C3)</td></tr>
<tr
style="font-size:125%;background:gray;"><td>=Summe(A1:A3)</td><td>=Summe(B1:B3)</td><td>=Summe(C1:C3)</td>
<td>=Summe(D1:D3)-Summe(A4:C4)</td></tr>
</tbody>
</table>
<%
if IsEmpty(Request.QueryString("Excel")) then
%><a href="test.asp?Excel">in Excel ...</a><%
end if
%>
</body></html>
<<----------------------------<<
Gru�
Heiko Richler
Fachbereich Informatik
Georg-Simon-Ohm-Fachhochschule N�rnberg
http://www.informatik.fh-nuernberg.de/heiko.richler/
> -----Original Message-----
> From: Jonas Hess [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 30, 2002 8:37 PM
> To: ASP Diskussionsliste fuer Anfaenger
> Subject: [aspdebeginners] Excel-Tabelle erstellen
>
>
> Hallo!
>
>
> Gabs mit Asp nich ne M�glichkeit ne Exceltabelle erstellen zu lassen?
> Wei� eine(r) von euch, wo's da Tutorials dazu gibt?
>
>
> THX4Your Help
>
> Jonas Hess
>
>
> | Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
> | [aspdebeginners] als
> [EMAIL PROTECTED] subscribed
> | http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
> | Sie knnen sich unter folgender URL an- und abmelden:
> |
> http://www.aspgerman.com/aspgerman/listen/anme> lden/aspdebeginners.asp
>
| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
| [aspdebeginners] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
| Sie knnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp