+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    08-17-2009
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Command Buttons when saving as HTML

    I currently have a report which is saved as an HTML page through Excel. I need to have a button on the HTML page to print the report. The button works perfectly in excel, but once the worksheet is saved as HTML, the command button no longer works.

    I have tried using the "add interactivity" feature however this makes matters a lot worse for since the data in my report is in an external file and the intereactivity removes external file access.

    Is there any way of getting the button to work on the HTML page?

    Thanks in advance.

  2. #2
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,447

    Re: Command Buttons when saving as HTML

    Your VBA will not work with a web page
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    Check out the free Excel Toolbar

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)


    Code Tags: Make your code easier for us to read

  3. #3
    Registered User
    Join Date
    08-17-2009
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Command Buttons when saving as HTML

    Is there any way I could get a similar function to work with HTML?

  4. #4
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,447

    Re: Command Buttons when saving as HTML

    You would need HTML code, can't hlp you there
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    Check out the free Excel Toolbar

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)


    Code Tags: Make your code easier for us to read

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.2.0