+ Reply to Thread
Results 1 to 4 of 4

Syntax

  1. #1
    Registered User
    Join Date
    07-25-2007
    Posts
    24

    Syntax

    Hey Guys I'm a little confused on the syntax for a loop

    Lets say a i have a column of in A1 A2 A3 and A4

    5
    7
    9
    10

    and i want a macro to add 2 to each of the cells in b1 b2 b3 and b4
    to have

    7
    9
    11
    12

    Now i know this is obviously easy with fill down and formulas but how do you do it with a macro loop?

    I'm just very confused on the syntax.

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    There is more than one way... here's one of them:
    Please Login or Register  to view this content.
    Here's another:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-25-2007
    Posts
    24

    Thanks

    Thanks alot

  4. #4
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    I'm happy to help.

+ 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