+ Reply to Thread
Results 1 to 3 of 3

getting MACRO to loop until cell is empty

  1. #1
    Registered User
    Join Date
    03-19-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    56

    getting MACRO to loop until cell is empty

    I have created a MACRO that copies data from sheet2 A1 and pastes in in sheet1 range - "gunner". This causes changes in sheet3. The MACRO copies the info from sheet3 into a batch file and then it runs the batch file. The batch file goes to the folder named and creates a ZIP file.

    Sheet2, column A is a list of file folders that need to be compressed. It is a large and changing list - ergo the MACRO.

    I would like the MACRO to go through the process that I have outlined, then go back to sheet2, take the new entry and start the process over again, until column A is empty.

    A long and drawn out way of saying that I need a "do loop", but I thought the more info I provide, the more assistance can be returned.

    My code (sloppy and encumbered) is

    Please Login or Register  to view this content.
    Last edited by El Conquistador; 04-18-2013 at 08:58 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,626

    Re: getting MACRO to loop until cell is empty

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    03-19-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: getting MACRO to loop until cell is empty

    thanks, that works great!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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