Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 02-11-2021, 12:38 AM
mbcohn mbcohn is offline search and replace, save, convert to PDF, recursively Windows 10 search and replace, save, convert to PDF, recursively Office 2016
Advanced Beginner
search and replace, save, convert to PDF, recursively
 
Join Date: Jan 2021
Posts: 32
mbcohn is on a distinguished road
Default

Well, this time it ran for a lot longer. Then it stopped at a run-time error 9105: String is longer than 255 characters. It was on this line.
Code:
 Set wdDoc = Documents.Open(FileName:=strFldr & "\" & strFile, AddToRecentFiles:=False, ReadOnly:=False, Visible:=True)

Well, the folders I'm working with are already nested within a series of other folders, so I suppose the file names, when they include the path, can get rather long.
Reply With Quote
 

Tags
recursive replace pdf



Similar Threads
Thread Thread Starter Forum Replies Last Post
search and replace, save, convert to PDF, recursively Need Search and Replace Help w Wildcards Oberstfunster Word 2 12-06-2018 09:28 AM
search and replace, save, convert to PDF, recursively Search and replace hernans Word VBA 5 07-02-2018 07:01 PM
Wildcards used for Search and Replace ChrisRick Word 2 03-09-2017 05:01 AM
search and replace, save, convert to PDF, recursively search and replace dirkoo Word VBA 2 08-14-2013 11:25 AM
Search and Replace - Clear Search box JostClan Word 1 05-04-2010 08:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:59 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