+ Reply to Thread
Results 1 to 2 of 2

Loop for iterating 1000 times

  1. #1
    Registered User
    Join Date
    12-12-2020
    Location
    Texas, USA
    MS-Off Ver
    EXCEL 2013
    Posts
    1

    Unhappy Loop for iterating 1000 times

    Greetings! I am new to this sub and decided to ask for some help after spending a couple of days screaming at the computer!

    I am trying to do a loop for certain conditions.
    I wish for said value on Cell C2 to be False. For each time that it is False, I wish to store or list the value in Cell R2 into a column and do this 1000 times until I have 1000 Values. I have tried doing a for loop but since I am fairly new to VBA I am having quite a bit of trouble. excel.PNG

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,857

    Re: Loop for iterating 1000 times

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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 execution speed 1000 times slower when started from editor
    By wolkersdorfer in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-17-2019, 06:11 AM
  2. Mistery: Inputbox makes my code 1000 times slower
    By munuelitu in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 02-23-2018, 10:51 AM
  3. VBA program that regress 1000 times
    By tsngl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-25-2016, 05:05 AM
  4. How to generate a random sample and repeat it 1000 times
    By random_Monkey in forum Excel General
    Replies: 4
    Last Post: 08-15-2013, 10:15 AM
  5. [SOLVED] Copy the following Formulae, 1000 times to the right!
    By stockgoblin42 in forum Excel General
    Replies: 3
    Last Post: 08-10-2012, 02:47 PM
  6. Replies: 1
    Last Post: 07-09-2010, 11:39 AM
  7. cannot iterate random numbers 1000 times
    By jane657 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-30-2009, 04:11 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