Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-15-2020, 04:15 AM
neilwhite neilwhite is offline Batch Hyperlinking files Windows 10 Batch Hyperlinking files Office 2016
Novice
Batch Hyperlinking files
 
Join Date: Jan 2020
Posts: 6
neilwhite is on a distinguished road
Default Batch Hyperlinking files

I’m hoping somebody can help me! I’ve had a long search here and can’t find anything that answers my query and I can’t believe I’m the first person ever to need to do this so hopefully it’s something you all know and I just don’t!

I have an word file that acts as an index for a large number of files (in excess of a 1000) currently these files, of various formats are stored within folders and subfolders which use the naming convention 01-Introduction though to 20-Acceptance certificate.
Some of the folders have multiple subfolders, as in within 01-Introduction there is a subfolder called 01.01- Introduction slides. Some subfolders go 5 or 6 levels deep so it could end up being 01.01.01.01.01.01 and then a single file in there.

Currently my predecessor manually made for each folder and file a (Relative) hyperlink manually which took hours /weeks and is probably why he’s not here anymore!
The links all need to be relative, not absolute as the final file is issued back to client for storage on their server. (Yes we can ensure the relative structure is maintained)



As a starter I’m trying to understand if there is a way of using VBA to look at my folder structure and then build the links for me.
The dream would be if word could then allocate a text style based on what level the subfolder was. i.e. 01-Introduction would be heading style 1 01.01 would be heading style 2.
And before everyone shouts just use excel, we can’t can’t. The client stipulates docx and pdf only.
Reply With Quote
 

Tags
batch processing, hyperlinking



Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch Comparing Multiple Word Files scienceguy Word VBA 2 10-27-2021 07:43 AM
Batch Hyperlinking files Batch add suffix to PDF files in folder Dave T Windows 2 03-01-2016 08:07 PM
Remove Compatibility Mode on DOCX files (batch) w64bit Word 17 02-01-2015 06:02 AM
Batch Hyperlinking files how to batch update linked image files path? stanleyhuang Word 3 09-11-2014 12:51 AM
Hyperlinking files on a mapped network drive howler2345 Outlook 0 12-21-2011 08:54 AM

Other Forums: Access Forums

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


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