+ Reply to Thread
Results 1 to 4 of 4

Replace normal paste with Paste As Text

  1. #1

    Replace normal paste with Paste As Text

    I am using Excel 2000 and I have created a template for reporting with
    protected cells.

    Cells which I allows for data input are unprotected.

    Problem is, the cells protection does not protect for changes in cell
    format (I have coloured all unprotected cells with yellow background).

    When someone do a copy and paste, the format of the unprotected cells
    will be changed.

    The only way I can think of is to intercept "CTRL-V" or the normal
    paste function and change it to "Paste as Text".

    How can I do this?

    Please help.


  2. #2

    Re: Replace normal paste with Paste As Text

    What I meant was when a person presses on the Paste icon or "CTRL-V",
    instead of pasting like usual (i.e. with all formats etc), it will
    only paste as text without any format.


  3. #3
    Tom Ogilvy
    Guest

    Re: Replace normal paste with Paste As Text

    use the selectionChange event

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Application.CutCopyMode = False
    End Sub


    of course if macros are disabled, then this won't help

    --
    Regards,
    Tom Ogilvy


    "[email protected]" wrote:

    > What I meant was when a person presses on the Paste icon or "CTRL-V",
    > instead of pasting like usual (i.e. with all formats etc), it will
    > only paste as text without any format.
    >
    >


  4. #4
    Tom Ogilvy
    Guest

    Re: Replace normal paste with Paste As Text

    use the selectionChange event

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Application.CutCopyMode = False
    End Sub


    of course if macros are disabled, then this won't help

    --
    Regards,
    Tom Ogilvy


    "[email protected]" wrote:

    > What I meant was when a person presses on the Paste icon or "CTRL-V",
    > instead of pasting like usual (i.e. with all formats etc), it will
    > only paste as text without any format.
    >
    >


+ 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