Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Exporting data from ms-access database to multiple worksheets using ASP

Hi sir,


i want to Export MS-Access into MS-Excel in such a way that " one workbook
must
be capable of holding multiple worksheets, where each worksheet has to be
populated from "multiple tables" of a database. by using the ASP.

we have the code for" exporting data to a single workseet "
here we are placing the code


------------------------------------
<%@ Language=VBScript %
<%Response.Buffer=true%
<%
Response.ContentType = "application/vnd.ms-excel"
%

<HTML xmlns:x="urn:schemas-microsoft-com:office:excel"
<HEAD
<style
<!--table
@page
{mso-header-data:"&CMultiplication Table\000ADate\: &D\000APage &P";
mso-page-orientation:landscape;}
br
{mso-data-placement:same-cell;}

--
</style
<!--[if gte mso 9]<xml
<x:ExcelWorkbook
<x:ExcelWorksheets
<x:ExcelWorksheet
<x:NameSample Workbook</x:Name
<x:WorksheetOptions
<x:Print
<x:ValidPrinterInfo/
</x:Print
</x:WorksheetOptions
</x:ExcelWorksheet
<x:ExcelWorksheet
<x:NameSample Workbook 2</x:Name
<x:WorksheetOptions
<x:Print
<x:ValidPrinterInfo/
</x:Print
</x:WorksheetOptions
</x:ExcelWorksheet
</x:ExcelWorksheets
</x:ExcelWorkbook
</xml<![endif]--
</HEAD
<BODY
<TABLE
<TR
<TD1</TD
<TD2</TD
<TD3</TD
</TR
<TR
<TD4</TD
<TD5</TD
<TD6</TD
</TR
<TR
<TD7</TD
<TD8</TD
<TD9</TD
</TR
</TABLE
<TABLE
<TR
<TD10</TD
<TD11</TD
<TD12</TD
</TR
<TR
<TD13</TD
<TD14</TD
<TD15</TD
</TR
<TR
<TD16</TD
<TD17</TD
<TD18</TD
</TR
</TABLE

</BODY
</HTML

the above code is for exporting to
a single worksheet, how to export to multiple worksheets

we want to export the data dynamically to multiple worksheets .



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
Creating Excel Worksheets from Access Database jack Excel Discussion (Misc queries) 0 March 14th 07 04:19 PM
EXPORTING data from spreadsheet to SQL SERVER DATABASE pmud Excel Programming 0 March 29th 05 12:55 AM
Exporting multiple worksheets as CSV Joe Sheehan Excel Programming 3 February 24th 04 02:38 PM
Exporting Access data to different worksheets on the same workbook chill[_2_] Excel Programming 1 December 5th 03 12:14 PM
Exporting data directly from Excel to an un-opened Access database using VBA Chris Dunigan Excel Programming 2 November 21st 03 03:16 PM


All times are GMT +1. The time now is 06:38 PM.

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"