+ Reply to Thread
Results 1 to 1 of 1

VBA to 'actualise' data based on today's date

  1. #1
    Forum Contributor
    Join Date
    07-13-2017
    Location
    Hong Kong
    MS-Off Ver
    MS Office 365
    Posts
    481

    VBA to 'actualise' data based on today's date

    Hi all,

    I'm trying to automate the process of actualising sales data every month. I have developed a planning tool that forecasts sales of 1000 stores. So at the end of each month I actualise the previous month as soon as the data becomes available. Instead of doing that manually, I want to write a VBA that checks the date on my computer and then actualises up to the most recent 'cut-off date'. I put each month's cut-off date in Row1 to have the VBA match it with today's date and then actualise accordingly.

    Important: the code is supposed to actualise all (!) months except months after today's date (so including e.g. FY 2016 data), as exchange rate fluctuations affect sales and thus changes the data slightly every month, and then eventually paste all data as values (!) to reduce the file size.

    I started writing some code, but I'm sure there is an easier/ more efficient way to do it.

    See attached file for your reference.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Archive data to variable workbook & tab based on today's date.
    By BC TIPPING in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-02-2017, 07:39 AM
  2. Replies: 5
    Last Post: 12-01-2015, 02:36 PM
  3. calculate data in cells based on today's date
    By stewdizzle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2015, 03:50 PM
  4. Copy data from another worksheet based on today date.
    By aneshdas in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-07-2013, 02:31 AM
  5. Replies: 1
    Last Post: 09-30-2012, 03:01 PM
  6. [SOLVED] VBA to copy specific data from one workbook to another based on today's date?
    By hiprhit in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-09-2012, 02:21 PM
  7. Data Validation based on Today's Date
    By brentong in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-01-2010, 06:26 AM

Tags for this Thread

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