+ Reply to Thread
Results 1 to 4 of 4

Automate answer to messages when copying and pasting cells

  1. #1
    Registered User
    Join Date
    08-09-2017
    Location
    Brisbane
    MS-Off Ver
    Office Home & Business 2016
    Posts
    21

    Automate answer to messages when copying and pasting cells

    Hi,

    I have a macro to copy cells from one workbook and paste into another with the below code...is there a way to avoid having to manually select Yes and No to the 2 messages that appear (see screenshots below)?

    Excel_copy and paste message 1.JPG

    Excel_copy and paste message 2.JPG



    Please Login or Register  to view this content.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Automate answer to messages when copying and pasting cells

    add this line of code at the beginning

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-09-2017
    Location
    Brisbane
    MS-Off Ver
    Office Home & Business 2016
    Posts
    21

    Re: Automate answer to messages when copying and pasting cells

    Thanks for your help, that works!

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Automate answer to messages when copying and pasting cells

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 1
    Last Post: 11-12-2016, 05:13 PM
  2. [SOLVED] Macro to make copying cells automate,- an appeal for expert's advice!
    By Arty_1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-04-2014, 07:22 AM
  3. [SOLVED] Need to automate the copying of range of cells into same row 365 times
    By Hirad001 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2014, 01:36 PM
  4. [SOLVED] Need advice on how to automate copying one cell into many cells in Excel 2010
    By shelbyjayIII in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-10-2013, 05:48 PM
  5. Replies: 0
    Last Post: 05-15-2013, 03:22 AM
  6. [SOLVED] In copy/pasting cells to a new sheet cannot automate cells (1, x) based on user input
    By CEDarnell in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-05-2012, 06:08 PM
  7. Copying and Pasting Cells
    By JoshF in forum Excel General
    Replies: 3
    Last Post: 01-04-2012, 08:38 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