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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to bypass "There i...
Power Automate
Answered

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

(0) ShareShare
ReportReport
Posted on 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)
  • Verified answer
    KrispyKremeSuga Profile Picture
    16 on at

    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.

  • RS14 Profile Picture
    2 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard