Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2014, 10:54 PM
macropod's Avatar
macropod macropod is offline don't know how to use ".wholestory" method Windows 7 32bit don't know how to use ".wholestory" method Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You don't need to do anything regarding StoryRanges; what you need to do is:
• modify the Style of the paragraphs concerned, reducing the before/after spacing; and/or
• use Find/Replace process to delete empty paragraphs.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 02-11-2014, 09:25 AM
saltlakebuffalo saltlakebuffalo is offline Windows 7 64bit Office 2010 32bit
Novice
don't know how to use ".wholestory" method
 
Join Date: Feb 2014
Posts: 11
saltlakebuffalo is on a distinguished road
Default

Hi, Paul;
Thank you very much. I will try what you suggested.
Since this is an Excel/Word combined situation, I was not sure which forum I should go. Sorry about it.
Thank you again.
Jason
Reply With Quote
  #3  
Old 02-11-2014, 07:24 PM
saltlakebuffalo saltlakebuffalo is offline Windows 7 64bit Office 2010 32bit
Novice
don't know how to use ".wholestory" method
 
Join Date: Feb 2014
Posts: 11
saltlakebuffalo is on a distinguished road
Default

Hi, Paul;
I made the following code and it works:

With objWordFile.ActiveDocument
Dim myParagraphs As Paragraphs
Dim myparagraph As Paragraph
Set myParagraphs = .Paragraphs
For Each myparagraph In myParagraphs
myparagraph.Range.ParagraphFormat.SpaceAfter = 0
Next
End With

Thank you again for your guidance.
Jason
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: "Changes made were lost...reconnect with server", when switching "from" field randhurrle Outlook 2 02-25-2015 06:51 PM
When composing an e-mail how do I add "Page Layout" and "View" tabs to the ribbon CensorTilSin Outlook 1 12-11-2013 12:05 PM
help with compatibility of "WdSaveFormat" property of SaveAs method ajetrumpet Word 0 07-15-2013 07:29 AM
Method to active "Select Drawing Objects" rgustin Word VBA 1 08-18-2012 11:58 AM
don't know how to use ".wholestory" method How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM

Other Forums: Access Forums

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