+ Reply to Thread
Results 1 to 2 of 2

Excel unit ranges to ppt does not paste correctly

  1. #1
    Registered User
    Join Date
    05-08-2015
    Location
    Gothenburg
    MS-Off Ver
    2013
    Posts
    7

    Excel unit ranges to ppt does not paste correctly

    I have a excelsheet with loads of data that is filtered, sorted och then two ranges are combined using union. Thesee ranges, a header and chart is the copied to a ppt.
    After this is done the script should look fot the next part of the table and union then puts the main categories with the new content together in a range and is pasted to a ppt with the new header and a new graph.

    Everything works fine except that for some reason, the range that I pass to the ppt does not only take the new range, it takes the new with the old one and pastes it into the ppt.

    When I use the immidiate window and just paste the range into a blank excel it looks right. But for some reason it does not takes the old and new range. For every loop this range just gets larger and larger.

    Can someone tell me what I'm doing wrong?

    A part of my code:

    Please Login or Register  to view this content.
    Last edited by davva23; 07-03-2017 at 06:58 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2010 (Win 7 - Work) & 2016 365 Subscription (Win 10 - Home)
    Posts
    8,462

    Re: Excel unit ranges to ppt does not paste correctly

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    If anyone has helped you towards solving a problem, then you can thank them by clicking on their reputation star bottom left.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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