Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-21-2024, 09:13 AM
vivka vivka is offline Read into a variable a block of Word Document Windows 7 64bit Read into a variable a block of Word Document Office 2016
Expert
 
Join Date: Jul 2023
Posts: 305
vivka is on a distinguished road
Default

Hi, mdlewis! If I understand the task correctly, I would:
1) use Find to find # in a rng, then move the rng's end until the next #, add the rng to a collection. Cycle the actions, type the collection itms in a proper place.
Or
2) use Find to find #*# in a rng, then move the rng's End 1 chr backwards, add the rng to a collection. Cycle the actions, type the collection itms in a proper place.
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read into a variable a block of Word Document error 91 object variable or with block variable not set ubrielbryne Word VBA 1 02-25-2019 11:15 AM
Run Time Error '91': Object variable or With block variable not set using Catalogue Mailmerge Berryblue Mail Merge 1 11-13-2014 05:36 PM
Read into a variable a block of Word Document Run-time error 91 object variable or with block variable not set JUST ME Word VBA 4 03-25-2014 06:56 AM
Read into a variable a block of Word Document object variable or with block variable not set MJP143 Excel 1 02-11-2013 05:07 AM
Read into a variable a block of Word Document Run-time error '91': Object variable or With block variable not set tinfanide Excel Programming 2 06-10-2012 10:17 AM

Other Forums: Access Forums

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