+ Reply to Thread
Results 1 to 3 of 3

Insert column depending upon months

  1. #1
    Forum Contributor
    Join Date
    01-21-2021
    Location
    Leeds
    MS-Off Ver
    2016
    Posts
    236

    Insert column depending upon months

    Hi,

    Thanks for looking at my post. I would like to do following scenario and any help will be appreciated.

    1. Check today’s date and insert column only upto last month. Example if I run the macro today, column will be inserted for Oct. If I re run again, it should say I already ran the macro. When I run macro on Dec, it should insert column for Nov and so on.
    2. Copy and paste the data along with formula from previous month

    Any idea please?

    Thanks a lot
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,543

    Re: Insert column depending upon months

    Try
    Please Login or Register  to view this content.
    Artik

  3. #3
    Forum Contributor
    Join Date
    01-21-2021
    Location
    Leeds
    MS-Off Ver
    2016
    Posts
    236

    Re: Insert column depending upon months

    Fantastic

    Thanks a lot for your time and effort

+ 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. Macro to insert line or remove line depending on cell in column A.
    By cscott109 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-15-2018, 05:02 PM
  2. Replies: 0
    Last Post: 12-14-2018, 08:20 AM
  3. Insert data from column A or B depending on whether a value exists in C
    By Supersadie in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 03-15-2018, 06:56 AM
  4. [SOLVED] VBA Insert Current Month, Year and subsequent months/year for 15 months
    By MichiganWilliams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2014, 03:49 PM
  5. Insert formula depending on cells depending of variables
    By elmexicano87 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2014, 01:22 PM
  6. Replies: 1
    Last Post: 08-24-2012, 03:18 PM
  7. Automatically insert a name depending on next column entry
    By merreena in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-18-2010, 09:33 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