+ Reply to Thread
Results 1 to 4 of 4

Saving as HTML questions?

  1. #1
    Registered User
    Join Date
    02-25-2009
    Location
    Knoxville, TN
    MS-Off Ver
    Excel 2007
    Posts
    30

    Saving as HTML questions?

    Normally I would create a quick test and try saving, but I'm trying to do a project for a class I'm teaching in the next week and the computer I'm working on won't let me save documents, so I would appreciate the input.

    If I were to create a simple VBA excel sheet with multiple choice answers, and saved it as HTML how would that display?

    I have three sheets, one for the questions, and two hidden sheets (one for the math, one for the answers)

    Hopefully it would show the non-hidden sheet and still process the VBA, but I've never done it before.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Saving as HTML questions?

    I don't think that VBA will not work that way
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,703

    Re: Saving as HTML questions?

    It will definitely not work that way. VBA is executed by Excel. When you export a file as HTML you just get the look, but the VBA doesn't go with it. HTML also doesn't provide any functionality; if you want a web page to have behavior then you need to program it with some combination of JavaScript on the browser side plus a server-side language like PHP, Java (J2EE), etc. This is true whether you are writing HTML by hand or exporting from Excel.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,703

    Re: Saving as HTML questions?

    That product will convert your Excel sheet to a fully functional web worksheet, but it doesn't include VBA functionality as requested in the OP.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.6.0 RC 1