+ Reply to Thread
Results 1 to 6 of 6

My recorded macro gone wrong?

  1. #1
    Registered User
    Join Date
    03-10-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    7

    My recorded macro gone wrong?

    Firstly may I say thanks to any members willing to take a look at my problem,
    which is, I have recorded a macro to copy the content's from a range of cells
    and paste them into a new sheet, then return to the original cell (D7) which is
    a merged cell (D7:F7) , end of record.

    The problem is, it has copied the content's fine but it has also removed the contents
    from the selected cell (D7), therefor there must be something in the code telling it
    to delete (D7).
    This macro is a lot longer then this so I have only pasted the code below which I think
    is relevant.
    Many Thanks to anybody that can point me in the right direction.
    CrashMatRob.
    Please Login or Register  to view this content.
    Last edited by CrashMatRob; 03-12-2012 at 07:46 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My recorded macro gone wrong?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-10-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: My recorded macro gone wrong?

    Thanks Bob,
    I've had a look but still can not get it to work the way I would like,
    please bear in mind I'm pretty new to this, I thought it was just a case in changing
    something in the code I pasted.

    Cheer's CrashMatRob.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: My recorded macro gone wrong?

    Please take a few minutes to read the forum rules, and then edit your post to add CODE tags.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

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

    Re: My recorded macro gone wrong?

    waiting for edit per mod request
    Ben Van Johnson

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

    Re: My recorded macro gone wrong?

    Try:
    Please Login or Register  to view this content.

+ 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