|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How do I programatically pass clipboard contents to a field in a Chrome webpage?
I have a block of plain text within a MS Word field that I want added to my system clipboard and then passed to a webpage in Chrome by clicking a command button named "Send to Chrome".
How would I accomplish this in VBA inside of MS Word? Essentially, I want the computer to: Select all the contents in a field in a MS Word document named "DraftingField" and add the field's contents to the system clipboard, then Go to Chrome, if open, and look at the open tabs until its find "XYZ" in a tab's title, if present, indicating that a particular Chrome tab is open to the correct url/webpage, then Look for a field named "Destination" on that webpage, position the insertion point in that field, and paste the clipboard contents into the field. If Chrome is not open or the target "XYZ" webpage is not open, then I want Word to throw an error in a message box that says, "Please open Page XYZ in Chrome." Any help would be much appreciated! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OneNote 2016 Chrome Clipper not working | dkvlko | OneNote | 0 | 01-12-2016 08:04 PM |
Table of contents not displaying custom text in field | wrdy | Word | 3 | 01-05-2015 02:57 AM |
Removing add in programatically | chrismad | Word VBA | 4 | 05-14-2014 02:56 PM |
Table of Contents - Direct Field Implementation - Auto-Update Numbering | ztag | Word | 3 | 01-19-2012 03:04 PM |
Populating ComboBox or Drop Down list with contents of a text field | Billy_McSkintos | Word VBA | 1 | 09-13-2011 05:50 AM |