+ Reply to Thread
Results 1 to 1 of 1

Allow cut, copy, paste AND preserve formatting and validation by remapping

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    blah
    MS-Off Ver
    Excel 2003
    Posts
    2

    Allow cut, copy, paste AND preserve formatting and validation by remapping

    I just figured I would share this with everyone as it took me forever to find the information. If anyone has any suggestions please feel free.

    The goal was to allow keyboard cut/copy/paste functionality in a protected sheet that includes validation and formatting without impacting those features AND allowing those functions to work between other open workbooks/sources.

    The first example I found was here: http://www.dailydoseofexcel.com/arch...te-operations/
    After wading through it and tweaking it as needed I got hung on the paste special operations
    Please Login or Register  to view this content.
    (pastevalidation was working, pasteformats was giving me all kinds of goofy errors)

    So in searching for a solution for that, I stumbled across this:http://www.ozgrid.com/forum/showthread.php?t=66405
    with this code:
    Please Login or Register  to view this content.
    Now that is brilliant! I scrapped most of the other junk I had been working on and this is what I ended up with:

    in ThisWorkbook
    Please Login or Register  to view this content.
    in a module
    Please Login or Register  to view this content.
    I'm a VBA noob so please critique and offer refinements or suggestions!
    Last edited by nomorefun; 08-19-2012 at 10:13 AM. Reason: cant type

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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