Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-27-2022, 01:38 AM
Bikram Bikram is offline Detecting_paragraph Windows 10 Detecting_paragraph Office 2007
Advanced Beginner
Detecting_paragraph
 
Join Date: Jul 2021
Location: Nepal
Posts: 94
Bikram is on a distinguished road
Default Detecting_paragraph

Greeting,


I am wondering if paragraphs containing more than 1 line can be detected in word by using something like
Code:
    If Selection.paragraphs(1).range.count <> then
    'If true then formats in one way else formats in another way.
    End If
But unfortunately, line.count method does not seem to exist. How can it be detected? I really appreciate any help you can provide.
Reply With Quote
 



Other Forums: Access Forums

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