+ Reply to Thread
Results 1 to 3 of 3

Code for a defined range which has been added to

  1. #1
    Registered User
    Join Date
    08-22-2012
    Location
    Guildford
    MS-Off Ver
    Excel 2003
    Posts
    7

    Code for a defined range which has been added to

    I have some code which works on a defined range (and it's just one column, but I don't want the top cell of the column included in the process, so I can't just use 'Column' in my commands).
    But the range constantly has new data being inserted into it, making it larger.
    I don't want to keep adapting the defined range in the code itself.

    So, is there code which automatically selects the full range of data in one column, starting from the second row, so that I can then paste it to another section of the sheet?

    It currently looks like this. I'm still very basic in what I do, so apologies:


    Please Login or Register  to view this content.
    Last edited by Cutter; 08-27-2012 at 07:58 PM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Code for a defined range which has been added to

    @ Tishmimi

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Code for a defined range which has been added to

    Hi Tishmimi,

    Not quite sure what you want - try something like this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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