Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2016, 09:05 PM
erik816 erik816 is offline How do I programatically pass clipboard contents to a field in a Chrome webpage? Windows 10 How do I programatically pass clipboard contents to a field in a Chrome webpage? Office 2007
Novice
How do I programatically pass clipboard contents to a field in a Chrome webpage?
 
Join Date: Mar 2016
Posts: 2
erik816 is on a distinguished road
Default 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!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
OneNote 2016 Chrome Clipper not working dkvlko OneNote 0 01-12-2016 08:04 PM
How do I programatically pass clipboard contents to a field in a Chrome webpage? Table of contents not displaying custom text in field wrdy Word 3 01-05-2015 02:57 AM
How do I programatically pass clipboard contents to a field in a Chrome webpage? 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
How do I programatically pass clipboard contents to a field in a Chrome webpage? Populating ComboBox or Drop Down list with contents of a text field Billy_McSkintos Word VBA 1 09-13-2011 05:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft