taking SQL server code from an ASP page and placing it in EXCEL

Ask a Question related to ASP, Design and Development.

  1. #1

    Default taking SQL server code from an ASP page and placing it in EXCEL

    I'd like to write a bunch of queries from a SQL Server 2000 database in
    my ASP page and have a way of copying this information into an excel
    workbook in specific cells. Writing the queries isn't the problem, I
    just need to place it in a file in different specific cells.

    Is there a way to do this? Do you have to use VBA code or something?
    the *.iqy technique isn't going to work, cause I have to place the data
    in a sepcific excel file, in sepcific cells.

    I am not sure how to do this or if it's possibly, if anyone has any
    ideas on where to start or find some sample code I'd REALLY appreciate
    it.

    Thanks,

    EL

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Ethan Lincoln Guest

  2. Similar Questions and Discussions

    1. Dangerous rounding bug when placing/importingdata from Excel spreadsheet (CS2)
      We've just come out of a client meeting in which they pointed out a seemingly random spattering of data errors throughout the financial section of...
    2. placing new excel copy into formatted In Design CS2 document
      Hello I am trying to place new copy from an excel document into an existing In Design document. I copied and pasted the excel data into a new...
    3. Best way to get ASP page to query Excel data (using SQL server)?
      Hi, I plan to query and process some data that resides in an Excel file on a network drive via ASP, with a SQL Server database as a go-between....
    4. #26180 [NEW]: server randomly sends source code of php page to browser
      From: svec at nostromo dot cz Operating system: redhat linux 7.3 w 2.4.9 kernel PHP version: 4.3.4 PHP Bug Type: Apache2...
    5. Newbie needs code pages for SQL Server 2000 access from asp.net page using vb.net
      I am only trying to connect to a local host . I am on Windows 2000 Server with sql 2000 server. My error is the classic "SQL server does not...
  3. #2

    Default Re: taking SQL server code from an ASP page and placing it in EXCEL

    Can you skip asp altogether and just connect your excel to the SQL Server?

    If not you are looking at using Excel Automation which is not encouraged by
    Microsoft.
    You could just create a *.csv file, but then you wouldn't have cell specific
    control.



    "Ethan Lincoln" <smakawhat@yahoo.com> wrote in message
    news:OplejDpjDHA.2456@TK2MSFTNGP09.phx.gbl...
    > I'd like to write a bunch of queries from a SQL Server 2000 database in
    > my ASP page and have a way of copying this information into an excel
    > workbook in specific cells. Writing the queries isn't the problem, I
    > just need to place it in a file in different specific cells.
    >
    > Is there a way to do this? Do you have to use VBA code or something?
    > the *.iqy technique isn't going to work, cause I have to place the data
    > in a sepcific excel file, in sepcific cells.
    >
    > I am not sure how to do this or if it's possibly, if anyone has any
    > ideas on where to start or find some sample code I'd REALLY appreciate
    > it.
    >
    > Thanks,
    >
    > EL
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Tom B Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139