Closed Thread
Results 1 to 2 of 2

Total NOOB LOOP

  1. #1
    Registered User
    Join Date
    02-16-2009
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    1

    Total NOOB LOOP

    I am looking for a way to run a simple loop.
    There is a button on my excel that is dependent on what cell is highlighted.
    If I run the record macro option it looks like this:

    Application.Run "blabalbla.xls!Sheet2.bla"
    Range("A14").Select
    Application.Run "blabalbla.xls!Sheet2.bla"
    Range("A15").Select
    Application.Run "blabalbla.xls!Sheet2.bla"

    etc.

    How do I make this into a loop? So that for Range A13:A100 it selects that cell and runs the applications, selects the next cell and runs the application etc.
    Anyone know?

    N

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Total NOOB LOOP

    Welcome to the forum.

    Please start a new thread after reading the forum rules about thread titles and code tags.
    Entia non sunt multiplicanda sine necessitate

Closed 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