+ Reply to Thread
Results 1 to 5 of 5

Resetting destination range

  1. #1
    Registered User
    Join Date
    04-26-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    31

    Resetting destination range

    Hi all, I have written a macro which searches through a range which contains dates and copies related data to a destination on another sheet.
    My difficulty is that up to three ranges of data may fall within my search range and when I copy them they overwrite each other as my code is not resetting the destination to the next blank cell in the destination column.
    Here is my code:

    Please Login or Register  to view this content.
    I would appreciate if someone could point out where I am going wrong.

    Regards,

    54ed
    Last edited by 6StringJazzer; 03-23-2019 at 10:04 AM. Reason: Moved from Excel General

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Resetting destination range

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Resetting destination range

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Registered User
    Join Date
    04-26-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Resetting destination range

    Quote Originally Posted by Fluff13 View Post
    Try
    Please Login or Register  to view this content.
    Hi Fluff13,

    This works (without the .Select). Many thanks for taking the time

    With appreciation

    54ed.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Resetting destination range

    You're welcome & thanks for the feedback

+ 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. How to get destination range baste on selection range and clipboard?
    By darry in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2018, 01:03 PM
  2. Resetting Used Range in Excel 2013
    By johnnymac in forum Excel General
    Replies: 5
    Last Post: 11-02-2017, 12:11 PM
  3. Dates with times corrupted when destination range .Value = source range .value used in VBA
    By Nelson Johnson in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-21-2017, 09:29 AM
  4. [SOLVED] Resetting a range
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-09-2014, 04:51 PM
  5. [SOLVED] Resetting ActiveSheet.Range macro
    By drrazor in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-23-2014, 11:54 AM
  6. [SOLVED] Transfer cells range to another sheet if first cell of destination range is empty
    By kopapa in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-04-2013, 04:32 PM
  7. Issue copying multicell range to destination workbook range
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-24-2008, 02:48 PM

Tags for this Thread

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