+ Reply to Thread
Results 1 to 3 of 3

How to make the macro work for all rows in the work sheet

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    7

    How to make the macro work for all rows in the work sheet

    Hi friends
    I am new to VBA
    Grateful if you could help me with the below code

    I need to add value to adjacent cell when a value in the active cell is entered
    Ex:when i enter value in B1,then cell value of C1 will be updated as 1
    when i re-enter value in B1,the cell value value will be updated as 2..... etc
    I need this macro only when there is value in B
    I have the code which can perform this activity but i am not able apply this macro to all the rows of the work sheet
    Help me
    Please Login or Register  to view this content.

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

    Re: How to make the macro work for all rows in the work sheet

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

  3. #3
    Registered User
    Join Date
    01-24-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: How to make the macro work for all rows in the work sheet

    Hi
    Thanks a lot
    It works well!!!
    Really great

    Valli

+ 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