Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-17-2024, 05:42 PM
macropod's Avatar
macropod macropod is offline Display a PDF in MS Webbrowser control when PDF is selected (clicked) from a ListBox Windows 10 Display a PDF in MS Webbrowser control when PDF is selected (clicked) from a ListBox Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

To do that, you would first have to automate your web browser, then open the PDF from there.

To automate Edge through VBA, you need to use SeleniumBasic. SeleniumBasic is a browser automation framework for VB.Net, VBA and VBScript. See:
EDGE : Opening and filling a webpage through VBA - Microsoft Q&A. The information there is a bit dated, but it should get you started in the right direction.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
ms word vba, pdf in webbrowser control, word user form

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Toggling control checkboxes to true when a value in a control drop down is selected ccamm Word VBA 4 03-16-2024 06:44 AM
MsgBox launch when a Check Box Content Control is clicked wolfgrrl Word VBA 1 06-21-2019 12:13 PM
Display a PDF in MS Webbrowser control when PDF is selected (clicked) from a ListBox Clicking the selected Content Control checkbox returns wrong control in vba event DougsGraphics Word VBA 2 06-24-2015 07:31 AM
Display a PDF in MS Webbrowser control when PDF is selected (clicked) from a ListBox Moving Selected Items from a Multiselect Listbox on a userform to a bookmark in Word marksm33 Word VBA 3 01-15-2015 07:55 PM
Display a PDF in MS Webbrowser control when PDF is selected (clicked) from a ListBox Getting mult resps. selected in listbox to concatenate & paste at a bookmark in Word marksm33 Word VBA 3 01-15-2015 05:59 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:07 AM.


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