+ Reply to Thread
Results 1 to 3 of 3

create a vba code to do the copy and paste as value task at end of each month 23:59:59

  1. #1
    Registered User
    Join Date
    10-06-2022
    Location
    Singapore
    MS-Off Ver
    2019
    Posts
    53

    create a vba code to do the copy and paste as value task at end of each month 23:59:59

    Dear experts,

    I have the following table and column E contains formula linking to another workbook to update the PM done date. At the end of each month at maybe 23:59:59, for example Dec, I want to copy column E for Dec only and paste as value to the same cells. Similarly at end of Jan, copy column E for Jan only and paste as value to the same cells. And so on for the subsequent months. Pls help to create a vba code to do the copy and paste as value task at end of each month 23:59:59. Pls refer to the attached excel file. Thanks.

    picture.jpg
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: create a vba code to do the copy and paste as value task at end of each month 23:59:59

    The code is simple

    Please Login or Register  to view this content.
    As for scheduling it to run, I suggest you look at the following documents to use the windows task scheduler to run it.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    10-06-2022
    Location
    Singapore
    MS-Off Ver
    2019
    Posts
    53

    Re: create a vba code to do the copy and paste as value task at end of each month 23:59:59

    Quote Originally Posted by dflak View Post
    The code is simple

    Please Login or Register  to view this content.
    As for scheduling it to run, I suggest you look at the following documents to use the windows task scheduler to run it.
    Hi dflak,

    It works. Thanks.

+ 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. Create task from sent message based on VBA code
    By bkper087 in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 02-22-2019, 01:16 AM
  2. VB Code to create range to copy and paste
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2018, 08:18 AM
  3. Need to optimise very simple copy paste task!
    By newbie-excel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2013, 12:46 PM
  4. Replies: 2
    Last Post: 03-20-2013, 04:47 PM
  5. Automating a copy and paste task
    By steve777888 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-15-2013, 02:49 PM
  6. Automate a Large Copy and Paste Task
    By The Cardinal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2009, 03:57 AM
  7. [SOLVED] change from copy & paste task pane (yuk) to c&p little box
    By Christie in forum Excel General
    Replies: 0
    Last Post: 10-27-2005, 09:05 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