Results 1 to 3 of 3

Thread: Excel Sheets and VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    4

    Question Excel Sheets and VB

    I am trying to make a time sheet interface. Say 80 names or employee #. The time Sheet will be the same so a template would need to be made, I would then need to Identify each sheet buy the employee name and or #. The employee would enter their name in a text box the name of the employee would then be the name of the sheet. So how do I open a different sheet ( a generic template) for the empoyee as they sign in.

    Please Note: I am using VB that came with Office 2000.
    Aslo will VB 5.0 Pro work on winXP and can it be upgraded to .net

    Thanks

    Rob
    I want to know how to link a Textbox a to a cell in excell.
    I want to have a user form enter a number and have it stored in (1) cell not a range.
    I have looked and can not find the solution.

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Please Note: I am using VB that came with Office 2000.
    Aslo will VB 5.0 Pro work on winXP and can it be upgraded to .net
    Yes vb5 will work with all versions of windows over 3.1, as for the second part here, I don't thik you can upgrade it - vb.net will attempt to install a fresh copy onto your system & run alongside of vb5. I'm not 100% sure on that one though so you might want to double-check this one in the vb.net forum.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    You'll want to look up xlt in your helpfiles - if you save a workbook with an xlt extension as opposed to an xls extension in Excel, this is saved as a template file.

    The second part there, you could hold the name entered into a public variable, then when you come to save the workbook, you could pass this variable in :

    workbooks(1).saveas strPrivateVariable & ".xlt"

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

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



Click Here to Expand Forum to Full Width