+ Reply to Thread
Results 1 to 5 of 5

pick next blank cell in range to add some values.

  1. #1
    Registered User
    Join Date
    02-27-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    38

    pick next blank cell in range to add some values.

    hi forum
    trying to build a macro to find some values on my sheet and paste them in to a specific range,
    but im stuck at the moment because my very little knowledge in vba.

    the macro works for the first selection i make . but when i try to search for new value it over write the cell.

    i need some code so if the cell in range is not blank move to next the range where i need the values is (a45:a58)







    Please Login or Register  to view this content.

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: pick next blank cell in range to add some values.

    if what you want to do is copy this cell to the first empty cell in column A then try this code:
    Please Login or Register  to view this content.
    Last edited by p24leclerc; 05-26-2013 at 02:50 PM.
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    02-27-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: pick next blank cell in range to add some values.

    hi pierre
    i need the destination to be A45 to A58
    the code that i have send the value into A45
    so the next time i run the macro it should use A46 because (a45) already in use.

  4. #4
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: pick next blank cell in range to add some values.

    Then try this:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-27-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: pick next blank cell in range to add some values.

    Quote Originally Posted by p24leclerc View Post
    Then try this:
    Please Login or Register  to view this content.
    Thank you Pierre for putting me out my misery . i can move on to the next stone.

+ 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