+ Reply to Thread
Results 1 to 2 of 2

Data of Current Month from Last

  1. #1
    Forum Contributor
    Join Date
    05-19-2015
    Location
    Karnataka, INdia
    MS-Off Ver
    MS Office 2010
    Posts
    277

    Data of Current Month from Last

    Hello,

    I looking for a query to get the of the current last year(February 2016) using Year and Month Field.

    Something like below.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,079

    Re: Data of Current Month from Last

    In a form, put a textbox for the date,(txtDate)
    A button to open the query.
    The query uses textbox in the query to get last year, DateAdd("yyyy",-1,txtDate)

    Or even a combo box of months, a textbox for year for user to enter.
    A hidden textbox ,txtDate would still assemble the full date...
    TxtDate = cboMo & "\1\" & txtYr

+ 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. Replies: 1
    Last Post: 04-29-2016, 01:28 PM
  2. [SOLVED] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  3. [SOLVED] first of current month for the data?
    By vimalanathk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2014, 10:07 AM
  4. [SOLVED] Vloopup for data in current month
    By robmun50 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-29-2014, 02:21 PM
  5. [SOLVED] Determine work days in current month or next month based on day of the month
    By sbrnard in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-29-2014, 05:14 PM
  6. [SOLVED] Pick a cell containing current month actulas based what the current month is.
    By vanbasten007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 01:17 AM
  7. [SOLVED] Auto populate cells from data in a 6 month range starting with the current month
    By ecarnley349 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:32 PM

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