+ Reply to Thread
Results 1 to 2 of 2

explanation about step 2 in VBA code

  1. #1
    Forum Contributor
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    427

    explanation about step 2 in VBA code

    i could not understand reason behing it, can anybudy explain that why use step 2 in VBA code
    check attachment for more detail
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: explanation about step 2 in VBA code

    Hi,
    Do you mean this line?
    Please Login or Register  to view this content.
    This line tells macro to loop from last filled cell in column B (its row 61 in attached file) - to row number 2 (because row nr 1 is header).
    Then "Step -1" mean that in each iteration i will be decreased by 1.

+ 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. VBA Code works by step by step, doesn't work by running
    By lucasar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2016, 06:33 AM
  2. Code Explanation Help Please
    By gerbansprawl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-19-2013, 09:30 AM
  3. [SOLVED] I need VBA explanation on this code please help me!!!
    By venkatpvc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-23-2013, 07:38 PM
  4. Looking for some explanation on a few lines of code
    By Jrub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-18-2012, 03:48 PM
  5. [SOLVED] Code explanation please
    By Geordie in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-15-2012, 08:12 AM
  6. explanation of code
    By leanne2011 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2011, 06:50 PM
  7. Code explanation
    By bajdr47 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2011, 12:30 PM

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