web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : p7NXFj5eSg66Wjj0dmmgwW
Power Automate - Power Automate Desktop
Answered

How to bypass "There is already data in worksheet, do you want to replace it?" while copy and paste from excel

Like (0) ShareShare
ReportReport
Posted on 24 Mar 2023 01:33:21 by 16

I have a simple flow that copies and pastes from one excel sheet to another. The problem is, the flow is stuck when the message window shows up: "There is already data in worksheet, do you want to replace it?".

 

I tried selecting a cell I want to paste to and sending keys: [Control+V], wait 1 sec, [Enter]. It works most of the time, but occasionally it doesn't work, just skipping the pasting part. 

 

Any advice? If there's an if condition where I try to paste first and check if the "replace" window shows up, or anything to avoid being stuck at the window, it'd be the best. But I really don't want to go through the whole UI things. 

I have the same question (0)
  • RS14 Profile Picture
    2 on 02 May 2024 at 04:19:20
    Re: How to bypass "There is already data in worksheet, do you want to replace it?" while copy and paste from excel

    This is awkward! Windows 11 I have unticked the box, but the popup still appears.

  • Verified answer
    KrispyKremeSuga Profile Picture
    16 on 24 Mar 2023 at 01:57:53
    Re: How to bypass "There is already data in worksheet, do you want to replace it?" while copy and paste from excel

    Welp, This is awkward.. I figured it out. There are two ways to go abt it.

     

    Option A. Disable overwriting warning.

    (https://www.excelhowto.com/macros/how-to-disable-theres-already-data-here-do-you-want-to-replace-it-warning/)

     

    1. Go to File > Options > Advanced > Editing options > Enable fill handle and cell drag-and-drop
    2. Un-check "Alert before overwriting cells"

    Option B. If, for whatever reason, you don't want to disable the warning message, if the range of the selected cells is exactly the same as the range of the pasting cells, excel lets you paste without warning sign. SO, 

     

    1. Get first free row (saved at variable x)

    2. x = x - 1

    3. get first free col (saved at var y)

    4. y= y-1

    5. select cells using x and y

    6. paste to active range.

     

     

    I personally recommend option A.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 954 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 650 Moderator

#3
trice602 Profile Picture

trice602 327 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete