Opening Excel file from within ASP and passing variable into cell

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Opening Excel file from within ASP and passing variable into cell

    I have an excel file on my server, which contains an embedded query. I
    want to be able to open the excel file, pass the contents of my
    variable into a cell within the worksheet and then refresh the query
    based on the variable passed.

    I can get the query part to work. The bit I can't get to work is where
    I open the excel file and pass the variable into a cell. I have tried
    various things and although excel launches without error, I can't see
    my file in the excel window.

    Any ideas?

    Thanks in advance,
    Lisa
    Lisa Guest

  2. Similar Questions and Discussions

    1. How do I preserve the link to a single cell in an Excel spreadsheet?
      I want to import a single cell from an Excel spreadsheet into InDesign 3.0. Initially, I am placing a single cell into a text frame and get the...
    2. importing a single cell into InDesign from Excel
      I want to import a single cell from an Excel spreadsheet into InDesign 3.0. Initially, I am placing a single cell into a text frame and get the...
    3. Win32-OLE excel cell reference.
      Guys, I'm struggling with the syntax to point to the cells that I want to use in Excel. It seems that the Range command likes data like (A14),...
    4. passing javascript variable into asp variable using vbscript
      The subject pretty much sums up what I need to do. Here is what I have so far, but still can't figure out how to get it working: <script...
    5. Passing contents of a flat file to an internal variable
      I want to do something like this inside a sproc: DECLARE @internalText VARCHAR(8000) SET @internalText="c:\myTestXML.XML" QUESTION: ...
  3. #2

    Default Re: Opening Excel file from within ASP and passing variable into cell

    What code are you using to launch Excel? Show that please. Are you using
    ADO or the Excel object?

    Ray at work

    "Lisa" <lisa.dunnette@btinternet.com> wrote in message
    news:7acd7172.0306300207.1c0b17ba@posting.google.c om...
    > I have an excel file on my server, which contains an embedded query. I
    > want to be able to open the excel file, pass the contents of my
    > variable into a cell within the worksheet and then refresh the query
    > based on the variable passed.
    >
    > I can get the query part to work. The bit I can't get to work is where
    > I open the excel file and pass the variable into a cell. I have tried
    > various things and although excel launches without error, I can't see
    > my file in the excel window.
    >
    > Any ideas?
    >
    > Thanks in advance,
    > Lisa

    Ray at 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