+ Reply to Thread
Results 1 to 2 of 2

VBA: Only allow 'paste as values' across workbook

  1. #1
    Forum Contributor
    Join Date
    08-25-2015
    Location
    London
    MS-Off Ver
    MS 365
    Posts
    213

    Question VBA: Only allow 'paste as values' across workbook

    Hi team,

    I have large workbook with loads of conditional formatting etc. Sadly, whenever one of my peers copies cells, they never just copy the cell value, but the whole cell incl. formatting. This gets extremely messy over time and I need to constantly clean up as performance of the sheet gets impacted.

    I found this handy script, which seems to only allow to paste values across the sheet:


    Please Login or Register  to view this content.
    So far so good. Only issue is that if copied content remains in the clipboard, it automatically pastes into any cell I select (without telling Excel to paste). That's obviously not what I intended.
    Any idea on how I could tweak this? Already set the mode to false, but that doesn't solve it.

    Also, another side question: is there any way to prevent cells to be copied/pasted over cells that contain a dropdown list? Sadly, that also seems to happen regularly. The cells are protected and an error shows if you try to type something, however, pasting content still seems to work (annoyingly).

    Any help appreciated. Thanks so much!

  2. #2
    Forum Contributor
    Join Date
    08-25-2015
    Location
    London
    MS-Off Ver
    MS 365
    Posts
    213

    Re: VBA: Only allow 'paste as values' across workbook

    Marking thread as solved as found a solution elsewhere. Thank you!

    Please Login or Register  to view this content.

+ 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. Macro to: open workbook, copy multiple values, paste them to another workbook.
    By maamon in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-09-2020, 09:49 AM
  2. Two Workbooks - Search for Values in Workbook 2, Copy and Paste in Workbook 1
    By CC268 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2017, 11:17 AM
  3. Copy values from sheets in workbook and paste in one sheet in the same workbook
    By RinorM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2015, 04:14 AM
  4. [SOLVED] Copy paste values to another workbook based on multiple cell values
    By Bazinga in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-23-2014, 12:41 PM
  5. [SOLVED] Paste values in master workbook from new workbook using VBA
    By Max_excel in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-23-2014, 06:07 AM
  6. Open workbook, filter values, copy/paste into Active workbook.
    By niceguy21 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2013, 12:17 PM
  7. Replies: 20
    Last Post: 07-26-2012, 04:02 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