+ Reply to Thread
Results 1 to 2 of 2

Excel unit ranges to ppt does not paste correctly

  1. #1
    Registered User
    Join Date
    MS-Off Ver

    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
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)

    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)

    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. display unit on axis (unit that's less than 1)
    By hoda in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-21-2016, 08:16 PM
  2. Find previous number of certain unit and paste in current cell
    By firmfoundation in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-07-2015, 11:27 AM
  3. Replies: 4
    Last Post: 10-07-2015, 06:04 AM
  4. [SOLVED] How to apply correctly INDIRECT in SUMPRODUCT for 2 RANGES when 2 cell match
    By Franky alta in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-29-2015, 10:04 AM
  5. [SOLVED] Unit increase relative to variable unit thresholds
    By Fr3dle in forum Excel General
    Replies: 6
    Last Post: 07-01-2013, 06:57 AM
  6. [SOLVED] Paste ranges with offset Excel 2000
    By carloshernandezy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-15-2005, 01:05 PM
  7. E2003 naming ranges correctly
    By Estrelle71 in forum Excel General
    Replies: 1
    Last Post: 07-22-2005, 11:05 AM

Tags for this Thread


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