clipboard

  1. T

    Determine if clipboard object is text or image before pasting

    Hi all, Had a bit of a google but not sure if this is possible or not... I have a sheet that imports data that is copied to the clipboard from another sheet... the other sheet data will open in protected view - so if people don't click enable editing then it copies the selection as an image...
  2. S

    Clipboard History issue in VB Editor

    If I use Clipboard History in the VB Editor, the text content of the clipboard is hidden unless the Copy was done in Notepad or equivalent. Copies done in VBE paste OK, but you're pasting blind, which is useless My problem is that I work in VBE most of the time, and I've never been able to...
  3. P

    Access VBA: Create 2D Array, and Then Update Table With Array Data

    Hello, and as a non-programmer I struggle much with 2D arrays. I waive the proverbial white flag of surrender, and any help would be most merciful. I have a text download, which I have converted to a one dimensional array. But I would like to convert it to a two-dimensional array, which would...
  4. V

    Put Two values into Clipboard with VBA

    I need to put value of 2 cells saying cell 'A1" and 'A2' into window's clipboard to use for other purpose Dim obj as DataObject Obj.SetText range("A1") Obj.PutInClipboard Obj.SetText left(range("A2"),4) Obj.PutInClipboard When i run code (f5), then opened window's clipboard, it only saved the...
  5. J

    VBA Code To Copy multiple text strings from buttons for single paste?

    What code do I need to use to instruct a VBA form to copy one or several text strings to clipboard at the activation of one button? Essentially I want to compile different text strings then paste in (any other) application with single <ctrl+v>. I have figured out how to write the code to copy a...
  6. A

    Clipboard Annoyance

    For some reason when I copy an item it is not showing up in my clipboard. It has been working flawlessly until now. When I copy a cell the Paste All and Clear all buttons are ghosted. It will copy and paste using the buttons on the toolbar but nothing shows on Clipboard pane. Thanks.
  7. C

    Copy contents of VBA csv export to Clipboard

    I have a functioning VBA macro to export the contents of a worksheet to a .csv file. I am curious if anyone knows how to supplement the below script so that the contents of that exported .csv file are copied to the system Clipboard for pasting into a separate program. The current method is to...
  8. Y

    Paste all clipboard items with match formatting

    how do i Paste all clipboard items with match formatting?
  9. D

    Does Application.CutCopyMode = False clear the Excel clipboard or not? Confused.

    I've gotten in the habit of pasting Application.CutCopyMode = False at the end of nearly any VBA code that executes any kind of Copy/Paste function, since I read somewhere that it essentially clears any items from the Clipboard / releases any memory associated with it (and I'm often doing quite...
  10. K

    Use Clipboard in MS Access with Allow Full Menus Disabled

    Hi, Is there any way to turn on the Clipboard in Microsoft Access when Allow Full Menus is unchecked? There are instances where users copies bits of information from Excel and needs to paste it into fields on a continuous form in Access. However, they are unable to because the allow full menu...
  11. T

    VBA to Store Copy clipboard ---> Save workbook ---> Paste as values in Selection

    Hi, I am trying to let Excel save active workbook just before my paste as values code, however I can't figure a way to store the clipboard before the Activeworkbook.Save event, and after the event the clipboard is lost if it is consist of data from another or current excel sheet. It is no...
  12. H

    Clipboard Question

    I have a button that grabs data from several fields, formats them, puts that text string into a new field and copies it to the clipboard with the docmd ac.copy (not at that computer right now so the command may not be exactly right). My question is, rather than go through the step of pasting...
  13. C

    strRight with 6 and sometimes 7 characters

    Hello, A field in my database is for a control number. The control number varies in length, from 16-20 alphanumeric characters. That control number always* ends in 6 numbers, which I extract and copy to the clipboard using VBA. *On rare occasion, an alpha character (always an alpha...
  14. J

    Data to clipboard dropping ( )

    I have a large worksheet and I like to copy and paste all to the clipboard.My question is I have numbers in parenthesis like (12),but when it comes over to the clipboard it appears as -12 these numbers in the original worksheet come from formulas....which contain "(" and ")".....looks like...
  15. N

    Macro to Copy Cells to Clipboard If

    Have a large list of contacts and I want a macro that copies their email addresses, Column J, to the clipboard if they've been selected, ="a" in Column C. It is a large amount of data so I believe I need to clear the clipboard first? Dim oData As New DataObject 'object to use the...
  16. K

    Copy data from excel listbox to clipboard

    Hi, I have one excel userform that has one listbox. I am adding 2 to 5 lines to it using Listbox1.Additem and once all items are added i want to copy this entire data to clipboard so that i may paste it to web based application uaing ctrl +v. Kindly help Regards, Tarun
  17. L

    How do I correctly use GetClipboardData to retrieve what is currently saved in the Clipboard?

    Dear all, I have the following code: Public Declare Function GetClipboardData Lib "user32" (CF_UNICODETEXT) As Long Public Declare Function OpenClipboard Lib "user32" (ByVal hwnd As Long) As Long Public Declare Function EmptyClipboard Lib "user32" () As Long Public Declare Function...
  18. D

    Fast method to transfer values without using clipboard?

    I am teaching myself VBA and I have been running a certain task via Copy and PasteSpecial Paste:=xlPasteValues and it completes the macro within 7 seconds. The task is to move the values to the left by one column. I've recently read the clipboard should be avoided when possible thus I used an...
  19. D

    Clipboard to a defined sheet

    I have a very basic question. I've pasting clipboard content to a certain sheet (Sheet5) in cell A1 (document contains more sheets). Sub Copy() ActiveSheet.Paste Destination:=Worksheets("Sheet5").Range("A1") End Sub I'm been getting a lot of 1004 errors (paste method of worksheet class...
  20. S

    Picture Trucated Error

    I have been using this spreadsheet, which contains various Macros, for at least 5 years using Office 2010 running on Windows 7 64 without issue. Now when I try to run the macros with Office 2010 running Windows 10 64 pro, I am getting an error" The Picture is too large and will be truncated."...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top