Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-24-2016, 11:07 PM
NevilleT NevilleT is offline Find if the selection is a horizontal line Windows 7 64bit Find if the selection is a horizontal line Office 2003
Novice
Find if the selection is a horizontal line
 
Join Date: Mar 2015
Posts: 29
NevilleT is on a distinguished road
Default Find if the selection is a horizontal line

I want to check the current selection to see if it is a horizontal line. If not, I will insert a horizontal line. I have not found a value I can check. I also wanted to check if it is a table and that part of the code works OK

CheckTable:
If Selection.Information(wdWithInTable) Then
Selection.MoveDown unit:=wdLine, Count:=1


GoTo CheckTable
End If

I basically want to do the same thing for a horizontal line.
Reply With Quote
 

Tags
horizontal line



Similar Threads
Thread Thread Starter Forum Replies Last Post
Check for a horizontal line NevilleT Word VBA 2 01-06-2016 11:50 PM
smart art horizontal line sgroves20 Word 0 11-05-2014 08:17 AM
Find if the selection is a horizontal line a troubling horizontal line mingming Word 1 09-14-2014 05:16 AM
Find if the selection is a horizontal line How to set month+1 and horizontal line nightkn8 Word 12 03-25-2013 02:06 PM
Find if the selection is a horizontal line Horizontal sawtooth line JamesT Word 3 10-29-2011 05:39 PM

Other Forums: Access Forums

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