Results 1 to 7 of 7

SOLVED Help to VBA loop

Threaded View

  1. #1
    Registered User
    Join Date
    05-13-2021
    Location
    Sweden
    MS-Off Ver
    10
    Posts
    4

    SOLVED Help to VBA loop

    Hey guys!

    I have the following VBA code:

    Sub TEST()
    For Iteration = 1 To Cells(15, 16)
    Cells(10 + Iteration, 13) = Cells(4, 18)
    Cells(10 + Iteration, 12) = Iteration
    Next Iteration

    End Sub


    I want to repeat this sub code 1000 times and store the value in a different cell. How do I code this loop?

    Looking forward to your replies!

    /Monfrizo
    Last edited by Monfrizo; 05-15-2021 at 10:35 AM. Reason: SOLVED

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Loop through emails to find Email today, if not found loop Date -1
    By lougs7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2020, 12:48 PM
  2. [SOLVED] VBA to loop through cell-defined range and paste table output after each loop.
    By mscott123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-18-2019, 03:41 AM
  3. Replies: 13
    Last Post: 07-08-2018, 05:22 AM
  4. [SOLVED] (Beginner help) For loop inside do loop that displays information from reference sheet.
    By lediable007 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-08-2016, 03:20 PM
  5. [SOLVED] Auto email loop with formatted table data breaking on second loop VBA
    By Who_else in forum Excel General
    Replies: 6
    Last Post: 03-24-2016, 06:22 AM
  6. [SOLVED] Copy dynamically changing column and Paste using VBA Loop (Loop within Loop)
    By nixon72 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2013, 12:46 PM
  7. Why did an inner loop variable start overwriting the outer loop range suddenly?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2012, 03:24 PM

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