|
-
Jun 13th, 2006, 08:38 AM
#1
Thread Starter
Member
Following links in VBA
Ok, I've got these reports that are going to be dealt with every month or so, and I've been asked to make them as simple as possible so that they can be done quickly. Currently, whenever there's something in the report that needs to be looked at, whoever is working the report needs to follow a link associated with that bit of data and figure out what's going on. So I was wondering if it would be possible to have a macro follow some link and copy the data into a new worksheet or something.
-
Jun 13th, 2006, 08:39 AM
#2
Re: Following links in VBA
What app are you using? What type of links are these? (targeted to a workbook, document, or web page?).
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 13th, 2006, 08:41 AM
#3
Thread Starter
Member
Re: Following links in VBA
.....I knew my post seemed kind of bare...
Anyway, this is in Excel with links targeting a webpage.
-
Jun 13th, 2006, 08:43 AM
#4
Re: Following links in VBA
You can use the .FollowHyperlink method but depending on the webpage you might be better using a webquery to load the pages' contents into a specific sheet/cell.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 13th, 2006, 10:32 AM
#5
Thread Starter
Member
Re: Following links in VBA
Would you mind providing a link to an explanation of the webquery? Or if you feel like explaining it here, that would work as well.
-
Jun 13th, 2006, 11:27 AM
#6
Re: Following links in VBA
Data > Import External Data > New Web Query...
And follow the steps/enter in your webpage address.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 13th, 2006, 12:55 PM
#7
Thread Starter
Member
Re: Following links in VBA
Thanks for the help, but unfortunately I can't record the data import and so I can't add it in to a macro that the technology-challenged would be able to use. *sigh* oh, well.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|