Closed Thread
Results 1 to 4 of 4

How to make Macro run loop through all populated cells.

  1. #1
    Registered User
    Join Date
    12-09-2020
    Location
    australia
    MS-Off Ver
    2010
    Posts
    12

    Exclamation How to make Macro run loop through all populated cells.

    Hi Everyone,

    I am trying to get this macro to loop through all values in column F and return values in G.

    I have it working for one cell, now need to move to the next step.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by jptierney; 08-14-2021 at 07:01 AM.

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

    Re: How to make Macro run loop through all populated cells.

    Code Tags Added
    Your post does not comply with Rule 2 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    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

  3. #3
    Registered User
    Join Date
    12-09-2020
    Location
    australia
    MS-Off Ver
    2010
    Posts
    12

    Re: How to make Macro run loop through all populated cells.

    Thanks Alan I will do this going forward.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: How to make Macro run loop through all populated cells.

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-pro...nt-values.html
    Last edited by davesexcel; 08-14-2021 at 10:28 AM.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA - For Each Loop - Cannot check all cells in range if first cell is not populated
    By RSmith93 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-01-2019, 03:00 PM
  2. [SOLVED] Macro should run only if certain cells are populated
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-27-2014, 11:37 PM
  3. Macro to count populated cells
    By TimmerSuds in forum Excel General
    Replies: 1
    Last Post: 06-24-2014, 05:01 PM
  4. Trying to make this Macro Apply to Every Populated Row??
    By Conoonor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2014, 10:35 PM
  5. [SOLVED] Make cells invisible until they are populated
    By Vegita_Z in forum Excel General
    Replies: 11
    Last Post: 06-05-2014, 11:33 PM
  6. Creating a loop to make cells equal other cells
    By Tuneman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2010, 07:40 PM
  7. Replies: 3
    Last Post: 06-11-2005, 07:05 AM

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