+ Reply to Thread
Results 1 to 4 of 4

A strange Clipboard problem

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    helsinki, finland
    MS-Off Ver
    Excel 2007
    Posts
    81

    A strange Clipboard problem

    Hello!

    Could somebody please try to explain the following:
    You have real text in the clipboard for example "ABC"
    and when you hit Ctrl-V you get ABC somewhere where your focus is.
    This is normal.

    When you use this code it will put in the clipboard "v"
    Please Login or Register  to view this content.
    this code works normally without problems, but every now and
    then there is v instead of ABC.

    Can anybody explain how this small v can appear when the code
    pastes it but when you do it with your keyboard then you have ABC

    regards
    keymuu

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: A strange Clipboard problem

    It's because you've sent v to the clipboard after sending ABC and the clipboard operates on LIFO.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    11-01-2012
    Location
    helsinki, finland
    MS-Off Ver
    Excel 2007
    Posts
    81

    Re: A strange Clipboard problem

    Hi Norie!

    ASCII = 86 is "V" (big, capital letter) not small "v".
    and as I said, it happens every now and then,
    not all the time, maybe 1 out of 20 or so.
    So if windows converts V to v and misses the Ctrl is pressed at the same time,
    then I suppose it could be as you say, maybe.... however, I somehow doubt it.
    How could it miss something (Ctrl) if the LIFO works as it should?

    regards
    keymuu

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: A strange Clipboard problem

    Maybe it would help if you cleared the ClipBoard:

    Please Login or Register  to view this content.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ 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