Results 1 to 6 of 6

Thread: Excel Online Form

  1. #1
    Join Date
    Mar 2008
    Location
    U.S.A.
    Beans
    514
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Excel Online Form

    Hey all,

    My boss is asking for me to look into creating a website for our company that will provide our employees with an online time sheet form.

    Right now he's got a time sheet that he made in excel with drop down menus and such.

    I'm thinking that he wants something like an online form tied to a database so that when someone fills it out and submits it, he can open an excel sheet that is tied to that database.

    I'm no expert, which is why I am posting.

    Can someone point me in the right direction? Like how to get apache or IIS to serve the excel sheet that can be edited easily and republished.

    Thanks

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Excel Online Form

    To be honest, if you've never done something like this before, you'll need to learn a number of skills. Unless you've got a lot of time on your hands, your company might be better off hiring someone for this task. Here's a quick overview of how I'd approach this problem:

    1) Install Apache, PHP and PostgreSQL (I don't use MySQL.)

    2) Create a PHP script that by default generates an HTML form emulating the Excel sheet. The employee fills in the form and presses a Submit button. The data will then be POSTed back to the script for processing. I'd include some basic integrity checks and either prompt the person to fix the problem or post the data to PostgreSQL.

    3) You could then write another PHP script to present the data, generate summaries, etc. Alternatively, you can install the PostgreSQL ODBC driver in Windows and set up an Excel or Access application that takes the data from Postgres and repackages it as desired.
    Last edited by SeijiSensei; February 7th, 2012 at 10:43 PM.

  3. #3
    Join Date
    Jul 2010
    Location
    Michigan, USA
    Beans
    2,136
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Excel Online Form

    Quote Originally Posted by SeijiSensei View Post
    To be honest, if you've never done something like this before, you'll need to learn a number of skills. Unless you've got a lot of time on your hands, your company might be better off hiring someone for this task. Here's a quick overview of how I'd approach this problem:

    1) Install Apache, PHP and PostgreSQL (I don't use MySQL.)

    2) Create a PHP script that by default generates an HTML form emulating the Excel sheet. The employee fill in the form and presses a Submit button. The data will then be POSTed back to the script for processing. I'd include some basic integrity checks and either prompts the person to fix the problem or posts the data to PostgreSQL.

    3) You could then write another PHP script to present the data, generate summaries, etc. Alternatively, you can install the PostgreSQL ODBC driver in Windows and set up an Excel or Access application that takes the data from Postgres and repackages it as desired.
    +1

    With a Google search, and you'll find tons of Open Source apps that can be modified to meet your needs. Or, this would be a very simple project to learn a new programming language. But, in the case of a business, if you don't have the skillset, just hire someone, this is a very simple task for most web developers.

    EDIT: beaten to the punch by SeijiSensei.
    Last edited by rubylaser; February 7th, 2012 at 08:06 PM.

  4. #4
    Join Date
    Mar 2008
    Location
    U.S.A.
    Beans
    514
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Excel Online Form

    Ok, I can do number 1.

    Number 2...I might could find something that would work.

    Number 3 out of my knowledge realm.

    Are there any open source php apps that do something close to this?

  5. #5
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Excel Online Form

    Quote Originally Posted by pepsifx357 View Post
    Ok, I can do number 1.
    Number 2...I might could find something that would work.

    Number 3 out of my knowledge realm.

    Are there any open source php apps that do something close to this?
    Actually the Windows part of #3 is relatively easy compared to the PHP scripting. (You install this driver via the ODBC Administrator applet in the Windows Control Panel, then configure a connection to your server. The .msi packages probably install the driver for you.) If you can accomplish #2 yourself, then the scripting part of #3 to report the data isn't really any harder.

    I write applications from scratch so I don't know of any pre-existing ones. On the other hand, a Google search for 'php employee time sheet' brings up, among others, this page at debianadmin.com with a number of alternatives.
    Last edited by SeijiSensei; February 7th, 2012 at 10:59 PM.

  6. #6
    Join Date
    Mar 2007
    Location
    Wenatchee, WA
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Excel Online Form

    Perhaps a slightly simpler approach might work... like a Google Docs spreadsheet, with an associated form that you can embed in a web page. When people fill out the form and submit it, the data is entered into your spreadsheet automagically, which can then be viewed or edited by whoever you've assigned such privileges to.

    Biggest limitation so far IMO is that the field validation is weak or a bit of a struggle compared to a straight-up Excel spreadsheet. Biggest benefit is that if you understand spreadsheets you can probably get a prototype up and running in about 15 minutes with basically no programming...

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
  •