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. 

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 432

#2
11manish Profile Picture

11manish 313 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 154

Last 30 days Overall leaderboard