+ Reply to Thread
Results 1 to 7 of 7

Selecting Next Column After a Specific Row

  1. #1
    Forum Contributor
    Join Date
    10-04-2006
    Posts
    151

    Selecting Next Column After a Specific Row

    Hello,

    Ok, this is a tough one (for me)

    I have a macro which pastes data from one worksheet to another. I would like to specify that the information that is pasted to continue to be pasted on a specified column once the information has reached row 52.

    Is there a procedure for this?

    TIA

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    HI

    How does your existing procedure paste the data? Does it copy / paste a block? or does it have some sort of incrementing counter that is used to determine a row???


    rylo

  3. #3
    Forum Contributor
    Join Date
    10-04-2006
    Posts
    151
    Hello,

    Thanks for the reply. It copies and pastes blocks at a time from different parts of the worksheet onto one worksheet. I guess I could use a counter. How would this be implemented?

    Many Thanks.

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Is the block to be split across the different columns, or do you want to move to another column once the next available output row is > 52?

    rylo

  5. #5
    Forum Contributor
    Join Date
    10-04-2006
    Posts
    151
    Hi,

    Is the block to be split across the different columns, or do you want to move to another column once the next available output row is > 52?
    I want it to move to another column once the next available output row is > 52.

    Thank you for your time! I really appreciate it.

  6. #6
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    HI

    This is pretty generic, but I hope will give you the idea.

    Please Login or Register  to view this content.
    If this is in your copying / pasting routine, it will test the next available posting row in your current column. If it is >52, then it will reset the row and column variables you can use to set the output cell reference.


    HTH

    rylo

  7. #7
    Forum Contributor
    Join Date
    10-04-2006
    Posts
    151
    Thanks Rylo,

    I have been so busy with another part of this project that I haven't gotten time to try it. Once I do I will, but I wanted to thank you for your time.

+ 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