+ Reply to Thread
Results 1 to 7 of 7

Excel/VBA Web interface

  1. #1
    Forum Contributor
    Join Date
    09-28-2007
    Location
    New York, NY
    MS-Off Ver
    2007
    Posts
    120

    Excel/VBA Web interface

    Hi all,

    I'm wondering if there is a way to create a webpage (intranet) that will request data input from the user and then run an Excel macro on a remote machine and return the output of the macro to the user via the webpage.

    The excel sheet currently requires a list of names in column A. When those names are entered columns B through Y automatically update via formulas that pull in data from a local database. After the data is pulled in, a macro can be run that ends up producing a list of all the data in sentence-form. This list is generated into a new, blank workbook and saved to a specific location.

    I want to create a page that requests this list of names from the user. Once the user clicks "Go", a script (?) would run that essentially updates the excel sheet with the input data and runs the macro. The final list would then be returned to the webpage.

    I'm not looking for a complete solution to this becasue I know this probably requires a ton of custom work. I'm just looking for a jump-off point. I'm not familiar with web applications at all and I'm just wondering where I would get started.

    Thanks,
    Joe

  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: Excel/VBA Web interface

    Excel vba cannot be run by any form of web page
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    09-28-2007
    Location
    New York, NY
    MS-Off Ver
    2007
    Posts
    120

    Re: Excel/VBA Web interface

    OK, what about just getting the first part done? Can I make a webpage that requests the input from the user and fills it into the excel sheet to get the raw data from columns B through Y? I can write the macro in a different language as long as I can get the data from the local excel sheet.

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

    Re: Excel/VBA Web interface

    I think you need to write html form to gather the information. Usually this information is stored in a database such as Access, you might be able to use Excel.

  5. #5
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Excel/VBA Web interface

    You can automate Excel via ASP using a scripting language - see here for example - assuming you have Excel installed on the server. It's more of a web question than an Excel one though really.
    Remember what the dormouse said
    Feed your head

  6. #6
    Forum Contributor
    Join Date
    09-28-2007
    Location
    New York, NY
    MS-Off Ver
    2007
    Posts
    120

    Re: Excel/VBA Web interface

    awesome. I'll take a look into ASP. thanks

  7. #7
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Excel/VBA Web interface

    Quote Originally Posted by MCCCLXXXV View Post
    awesome. I'll take a look into ASP. thanks
    I've been working on a project that does this stuff. I use some free 3rd party applications to help.

    1. I use Google Docs(Form) to provide for user inputs. These inputs are automatically sent to a Google Docs(spreadsheet) where they are collected.
    2. I use Excel's Web Data linking to link to the Google Docs(spreadsheet).
    3. I do whatever processing is needed in Excel.
    4. For outputs I do emails and publish a worksheet(saved as .htm) to my web server. I did have issues using FTP from the command line. So I use a free program called BitKinex. It is so nice. No FTP command BS, just a single shell command.

+ 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