+ Reply to Thread
Results 1 to 7 of 7

Repetitive Addition and Copy Paste VBA

  1. #1
    Forum Contributor
    Join Date
    01-15-2015
    Location
    philippines
    MS-Off Ver
    Excel 365
    Posts
    116

    Repetitive Addition and Copy Paste VBA

    Hi guys,

    I need help with this simple VBA task that I don't know how to approach as of this moment.
    In the table shown below, 0.0001 is in cell A1.
    1.02% in cell A2 has a formula: =0.01+A1
    So what the VBA should do is that:

    1. write 0.0001 in cell A1
    2. copy and paste as values whatever the result is in cell A2 to one cell below C2, where the word "List" currently occupies it.
    3. then go back to step one, but this time instead of 0.0001, it will now put 0.0002 (increments of 0.0001)
    4. then repeat step two, but this time it will be two cells below C2 since the previous step has pasted the previous result one cell below C2.
    5. then so on until the written value in cell A1 is 0.90000.

    0.0001 Results
    1.01% List

    Thank you so much.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,162

    Re: Repetitive Addition and Copy Paste VBA

    Perhaps...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Repetitive Addition and Copy Paste VBA

    Please Login or Register  to view this content.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,162

    Re: Repetitive Addition and Copy Paste VBA

    Nice one as always jindon...

  5. #5
    Forum Contributor
    Join Date
    01-15-2015
    Location
    philippines
    MS-Off Ver
    Excel 365
    Posts
    116

    Re: Repetitive Addition and Copy Paste VBA

    Hi sintek, thank you. It's perfect!

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,162

    Re: Repetitive Addition and Copy Paste VBA

    Glad I could contribute...tx for rep +

  7. #7
    Forum Contributor
    Join Date
    01-15-2015
    Location
    philippines
    MS-Off Ver
    Excel 365
    Posts
    116

    Re: Repetitive Addition and Copy Paste VBA

    this works too. its just a little hard for me to adjust it according to my needs because I don't know how. thank you though
    Last edited by richardking; 08-08-2020 at 07:53 AM.

+ 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. Replies: 22
    Last Post: 03-16-2019, 04:22 AM
  2. Repetitive copy and paste + saving macro
    By adamtanwc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-05-2017, 09:49 PM
  3. Replies: 8
    Last Post: 02-29-2016, 04:12 AM
  4. [SOLVED] Paste Special (Addition) without affecting Subtotals (VBA)
    By Paul Cherian in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2015, 03:39 AM
  5. [SOLVED] Row addition macro: How to also copy what's above?
    By JPWRana in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-18-2013, 07:16 AM
  6. Replies: 1
    Last Post: 07-03-2013, 04:06 AM
  7. [SOLVED] Create sets of data (repetitive copy-paste)
    By edarevalo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-28-2012, 04:56 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