+ Reply to Thread
Results 1 to 2 of 2

Amending period for query

  1. #1
    Forum Contributor
    Join Date
    09-18-2014
    Location
    England
    MS-Off Ver
    2003/2010/365
    Posts
    119

    Amending period for query

    Hello!

    I need some help amending an extract of VBA coding.

    The below extract attains the period from cell B4, for my query.

    Please Login or Register  to view this content.
    However, I need it to read "B4 minus 1".

    For example, if B4 = 4, then period would be 3.

    Thanks in advance!

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Amending period for query

    Something like below?
    Please Login or Register  to view this content.
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

+ 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. [SOLVED] Calculate the portion of a planned number during a period, based on another time period
    By BryGuy81 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2017, 01:29 PM
  2. Replies: 1
    Last Post: 04-24-2013, 11:38 PM
  3. [SOLVED] Complicated:Calculate time period based on no. of units sold + fluctuations within period
    By omaha.crab in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2012, 03:04 AM
  4. Twelve Trailing Period Query Help
    By SoleAris in forum Access Tables & Databases
    Replies: 6
    Last Post: 11-29-2011, 11:46 AM
  5. Replies: 2
    Last Post: 08-06-2011, 11:15 AM
  6. Replies: 3
    Last Post: 06-29-2010, 05:28 PM
  7. [SOLVED] Query Items Listed During a Specific Time Period
    By DukeDevil in forum Excel General
    Replies: 0
    Last Post: 07-06-2006, 03:45 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