+ Reply to Thread
Results 1 to 7 of 7

Wanting to print specific worksheet based on current week

  1. #1
    Registered User
    Join Date
    06-10-2014
    Location
    Concord, NC
    MS-Off Ver
    2013
    Posts
    24

    Lightbulb Wanting to print specific worksheet based on current week

    I have a project I have been working on for a little while and I'm now to the point where I need some macros and/or buttons to round out functionality. The end game for this project is to turn it into a template that will be distributed to all employees.

    Over the past few weeks, I have been working on a consolidated time sheet for the company I work for. The purpose is two-fold: not only do employees have all of their time sheets for the year in one place, but also they are able to quickly view how much time off they have available.

    So far, I have been able to get the Time Off/Vacation Tracker worksheet setup and working smoothly. Now, I'm at the point where I am cleaning up/tweaking the time sheet functionality and will have to design some macros and/or buttons to achieve the desired results.

    Right now, I am looking for a button that, when clicked from the first worksheet the workbook (called "Vacation Tracker"), the time sheet (worksheet) for the current week is sent to the printer. Right now, I have 1 worksheet per week of the year with each one designated as "Week <number>".

    I had in mind to make it where the entered data on the time sheets clears out at a certain point, but then I realized that the vacation time remaining calculation is built off those time sheets. That makes the situation a little bit more convoluted, especially when you consider that vacation time does not reset on the same day for everyone. I talked to a co-worker about it and he suggested a setup page where (on 01/01?) you would input your hire date and vacation left to date so it would track what you have left until your anniversary date. Then, I guess when the new year starts, the remaining vacation time would be moved to a new field so that can continue to be tracked until your next anniversary date.

    The people on here have been an amazing help so far, and I greatly appreciate any further assistance you can offer!
    Last edited by TheTubaGeek; 09-08-2014 at 07:53 AM. Reason: Updated what I would like to do with the template

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: A couple of buttons/macros needed

    Post a sample workbook and specifically indicate what you are trying to accomplish and we can probably help.

    When you say print the week number, I have no way of knowing if you mean literally print it via a printer or post a formula in a cell or post a value in a cell.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    06-10-2014
    Location
    Concord, NC
    MS-Off Ver
    2013
    Posts
    24

    Re: A couple of buttons/macros needed

    File attached.

    Print Macro Help.xlsx

  4. #4
    Registered User
    Join Date
    06-10-2014
    Location
    Concord, NC
    MS-Off Ver
    2013
    Posts
    24

    Re: A couple of buttons/macros needed

    Bump. Still requiring assistance.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2509 Win 11
    Posts
    24,994

    Re: A couple of buttons/macros needed

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, Macro Needed and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    06-10-2014
    Location
    Concord, NC
    MS-Off Ver
    2013
    Posts
    24

    Re: A couple of buttons/macros needed

    Title has been modified

  7. #7
    Registered User
    Join Date
    06-10-2014
    Location
    Concord, NC
    MS-Off Ver
    2013
    Posts
    24

    Re: Wanting to print specific worksheet based on current week

    OK, I tweaked the title a little more after realizing I still wasn't being very clear.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macros with buttons, spin buttons, scroll buttons, etc.
    By qqbbppdd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2013, 09:34 AM
  2. Excel designer needed
    By Veehunjan1 in forum Excel General
    Replies: 1
    Last Post: 05-07-2013, 09:24 PM
  3. Alternative to buttons needed
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-18-2011, 11:27 AM
  4. Excel 2007 : Buttons for Macros
    By DKY in forum Excel General
    Replies: 1
    Last Post: 11-10-2008, 03:22 PM
  5. Buttons for Macros
    By Ainsley in forum Excel General
    Replies: 2
    Last Post: 03-09-2006, 07:43 AM

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