Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2016, 05:27 AM
uday.word uday.word is offline VBA to split word document containing pictures using delimter Windows 7 32bit VBA to split word document containing pictures using delimter Office 2013
Novice
VBA to split word document containing pictures using delimter
 
Join Date: Sep 2016
Posts: 2
uday.word is on a distinguished road
Default It worked!!

Your solution has worked brilliant. This is what I exactly wanted. This code has taught me many additional syntax and has motivated my interest in learning it.



Thank you Sir!
Looking forward for your support and guidance for my learning.

I have seen your website. You are a great patriot and passionate guy.
Reply With Quote
  #2  
Old 09-11-2016, 03:40 AM
Tom Saylor Tom Saylor is offline VBA to split word document containing pictures using delimter Windows Vista VBA to split word document containing pictures using delimter Office 2007
Novice
 
Join Date: Sep 2016
Posts: 6
Tom Saylor is on a distinguished road
Default

Hi Greg,

Thanks for providing this useful macro! I'm encountering a bit of a problem. When I run the macro on a Word file with multiple instances of the delimiter (///) embedded between equal portions of text, I get the desired output for the first two result files (Notes 001 and Notes 002) but not for the subsequent result files (Notes 003 and ff.).

In Notes 001 I get only the text found before the first delimiter, and in Notes 002 I get only the text found between the first and second delimiters--good!

But in Notes 003 I get the text found between the second and fourth delimiters along with the text of the third delimiter itself (///). In Notes 004 I gets the text found between the third and sixth delimiters along with the texts of the fourth and fifth delimiters themselves. And so forth, so that each subsequent result file contains more and more undesired text.

Is there a way to tweak the macro so that the subsequent result files (Notes 003 and ff.) contain only the text between adjacent delimiters?

Thanks!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA to split word document containing pictures using delimter Word VBA - Split Document By Headings - Save File Name As Heading Name jc491 Word VBA 7 01-21-2022 11:04 AM
VBA to split word document containing pictures using delimter split word document based on bookmarks with each new document title of the bookmark megatronixs Word VBA 9 09-05-2020 02:29 PM
Split one Word Document into Multiple PDFs VieraOfficeUser Word 3 07-30-2014 10:58 PM
Split a word document officeboy09 Word VBA 6 04-12-2014 05:07 AM
VBA to split word document containing pictures using delimter How do I see one document map for each half of a split MS WORD 2010 document? quickwin Word 3 07-09-2013 10:20 PM

Other Forums: Access Forums

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