+ Reply to Thread
Results 1 to 4 of 4

How to repeat an action

  1. #1
    Registered User
    Join Date
    04-14-2020
    Location
    Saint Louis, United States
    MS-Off Ver
    365
    Posts
    2

    How to repeat an action

    Hi everybody,

    I would like to automate what I have illustrated in the attachment through the rest of the quarter (90 days, June 30th would be the last day). As you can see, the date increases by 1 every 22 rows. In addition, I would also like the sum function also to repeat every 22 rows and be green. Is there a way to do this?

    Thanks you!
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How to repeat an action

    A loop in VBA will do it:

    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    04-14-2020
    Location
    Saint Louis, United States
    MS-Off Ver
    365
    Posts
    2

    Re: How to repeat an action

    It worked!
    Thank you!

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How to repeat an action

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] repeat action in VBA
    By Crispy85 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-08-2016, 09:52 AM
  2. Repeat the following action in ALL sheets
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-09-2014, 02:38 PM
  3. how to repeat an action in a macro
    By deville in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-06-2011, 07:13 AM
  4. Repeat last action
    By Teri in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-13-2006, 11:15 AM
  5. repeat an action in different locations
    By countrypotter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  6. [SOLVED] repeat an action in different locations
    By countrypotter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  7. repeat an action in different locations
    By countrypotter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01: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