Excel ActiveXObject : adding an image to a cell?

Discussion in 'Javascript' started by callowaylc, Apr 27, 2006.

  1. callowaylc

    callowaylc Guest

    Hey all,

    I can't seem to find an answer to this anywhere. Essentially I am using
    IE & jscript to build a excel page using IE's "new
    ActiveXObject("Excel.Application")". Add a string value to a cell is

    sheetObj.Cell(x,y).Value = someString

    No problem - but of course, my boss wants to see the company logo at
    the top of every dynamically generated excel page, which I have no idea
    how to do? Looked all over google without any good leads; tried
    variations of ..Value = new Image(..) and I even tried using html as a
    string value (apparently I've gotten desperate). What I really need is
    a godamn API for the
    ActiveXObject("Excel.Application"), which I've had trouble finding as
    well. Can anyone help?

    callowaylc, Apr 27, 2006
    1. Advertisements

  2. Obviously. This was not going to work, ever. Excel is not HTML.
    You already have the API (Application Programming Interface). You are
    looking for a documentation of it, which can be easily found[1] at MSDN:


    In particular, you are looking for



    Thomas 'PointedEars' Lahn, Apr 28, 2006
    1. Advertisements

  3. callowaylc

    callowaylc Guest

    "Obviously. This was not going to work, ever. Excel is not HTML. "

    - thus the "apparently I've gotten desperate" part of the message.
    Thanks for correcting me on the API achro... gosh I'm sure stupid
    callowaylc, May 1, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.