+ Reply to Thread
Results 1 to 3 of 3

UserForm to print report for month/year

  1. #1
    Registered User
    Join Date
    07-06-2015
    Location
    Tennant Creek
    MS-Off Ver
    2010
    Posts
    46

    UserForm to print report for month/year

    I have a userform that prints a monthly report from a commandbutton. This is picked from the sheet where the userform send the data to. This sheet is designed to run for multiple years. At the moment the command button prints the month but this is because this is the first year of operation.
    Is it possible to code in the month and year plus 14 days to allow time to print the last month?
    This is the current code:
    HTML Code: 

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: UserForm to print report for month/year

    You don't explain how the date correlates to your code. I assume it has something to do with copying column I?
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    07-06-2015
    Location
    Tennant Creek
    MS-Off Ver
    2010
    Posts
    46

    Re: UserForm to print report for month/year

    The Data sheet will contain dated entries over a period of years. The command buttons the print the monthly reports works but I need the code to only print a month report for a particular year. as it is set up, it will pick up, say March, for all of the years entries.

+ 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. Running Totals from 24 hours to month, month to year without year decreasing
    By Safetyintern in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2015, 01:13 PM
  2. Graphing dates by month/year with 2 bars per month/year
    By Ellpoyohlokoh in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-22-2014, 05:25 AM
  3. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  4. How to add Month-on-Month and Year-on-Year %Variance into a pivot table
    By emeritus1812 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-09-2013, 02:37 AM
  5. [SOLVED] Report counted cells based on day and month of the year
    By Chanley24 in forum Excel General
    Replies: 2
    Last Post: 05-08-2013, 09:17 PM
  6. If Column A Month and Year = ColumnB Todays Month and Year then send email
    By HACCStaff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2013, 12:47 AM
  7. Current Year & Month Name, Previous Year & Month Name
    By mithesh in forum Excel General
    Replies: 9
    Last Post: 10-21-2011, 07:00 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