+ Reply to Thread
Results 1 to 4 of 4

Script overwrites the last paste action (possible simple question).

  1. #1
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Script overwrites the last paste action (possible simple question).

    Dear Excel-specialist,

    I have a short question. I have a script that:
    - Searches through all worksheets in a workbook
    - Copies the text from the A3 position (range) until a cell value is found with the value ="END"
    - All copied text (range) will be paste in the "planning summary" worksheet

    What happens is:
    I only see the past results of the first two lines from and below A3. The last copy/paste action is correct. Then I see the whole range.

    Does somebody knows what I am doing wrong?


    Please Login or Register  to view this content.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,159

    Re: Script overwrites the last paste action (possible simple question).

    Something like this perhaps...
    Please Login or Register  to view this content.
    If not, then pls upload a sample file representing actual file setup...
    Last edited by sintek; 03-04-2022 at 08:33 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Re: Script overwrites the last paste action (possible simple question).

    Works like a charm! Thank you (add reputation is done) :-)

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,159

    Re: Script overwrites the last paste action (possible simple question).

    Glad to have helped ...Tx for rep +

+ 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. [SOLVED] Row copy to new sheet overwrites previous paste
    By cschn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2016, 04:16 PM
  2. Copy/paste of data overwrites borders
    By regresss in forum Excel General
    Replies: 1
    Last Post: 06-07-2015, 11:32 AM
  3. [SOLVED] paste from excel overwrites in Word document
    By bob33 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2013, 11:45 AM
  4. Simple VBA script for match Copy/Paste
    By uniken in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-12-2011, 09:19 AM
  5. Simple Copy Paste Question
    By mcmuney in forum Excel General
    Replies: 3
    Last Post: 11-24-2008, 04:48 PM
  6. Simple cut and paste question....I think
    By waverider in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-06-2007, 11:25 AM
  7. Charting Series Question. Overwrites previous line?
    By thenewguy023 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-01-2006, 02:37 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