Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 03-20-2010, 07:19 PM
Ephasa Ephasa is offline Line Numbering & Blank Lines Windows Vista Line Numbering & Blank Lines Office 2007
Novice
Line Numbering & Blank Lines
 
Join Date: Mar 2010
Posts: 1
Ephasa is on a distinguished road
Default Line Numbering & Blank Lines

Hi, I'm trying to include line numbers as part of a (long) piece of poetry. When I select the text, which is spaced like this:

x
x
x


(space)
x
x
x
(space)...

The line numbering, when set to continuous, includes the spaces as lines - this is naturally not advantageous since I'm trying to keep a running total of line #'s to the side of the page.

Is there any way to make the line numbering not acknowledge blank lines? Using the "supress for current paragraph" option isn't a viable option since I have many blank lines, and is a major pain to activate on every blank line.

Using Word 2007, thank you =)
  #2  
Old 03-23-2010, 10:16 PM
Guessed's Avatar
Guessed Guessed is offline Line Numbering & Blank Lines Windows Vista Line Numbering & Blank Lines Office 2007
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Can you use soft returns (Shift Enter) inside a stanza and paragraph spacing instead of a blank return between stanzas?

If so, a series of search and replace functions will make the conversion easy enough.
Find ^p and replace with ^l
Find ^l^l and replace with ^p
  #3  
Old 05-16-2016, 02:48 AM
lonelydrinker lonelydrinker is offline Line Numbering & Blank Lines Mac OS X Line Numbering & Blank Lines Office for Mac 2011
Novice
 
Join Date: May 2016
Posts: 1
lonelydrinker is on a distinguished road
Default

I realize this is 6 years old but I figure I'd give it a shot. I'm having the exact same issue and the soft returns don’t help. Has someone created/does someone know how to create a macro that would automatically do this. E.G. A macro that simply "suppresses current section" for line numbers on blank lines/lines containing no words?

Having said that, if anyone is unwilling to do this, I'd be willing to give this a try if I could get some more information on what the "suppress current section" macro command is.

Thanks.

LD.
  #4  
Old 05-16-2016, 01:20 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Line Numbering & Blank Lines Windows 7 64bit Line Numbering & Blank Lines Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,871
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

A long-term solution is to not use blank paragraphs to create spacing. Instead, apply some Spacing Before (or Spacing After) to text.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
  #5  
Old 05-16-2016, 08:28 PM
Guessed's Avatar
Guessed Guessed is offline Line Numbering & Blank Lines Windows 10 Line Numbering & Blank Lines Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You SHOULD be doing this as Stefan suggests and structure your document correctly but a macro to suppress the line numbers on empty paragraphs is easy enough.
Code:
Sub Temp1()
  Dim aPara As Paragraph
  For Each aPara In ActiveDocument.Paragraphs
    If aPara.Range.Text = vbCr Then
      aPara.NoLineNumber = True
    End If
  Next aPara
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
  #6  
Old 05-17-2016, 12:23 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Line Numbering & Blank Lines Windows 7 64bit Line Numbering & Blank Lines Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,871
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

Good idea!
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
  #7  
Old 04-07-2020, 04:57 AM
Law Law is offline Line Numbering & Blank Lines Windows 10 Line Numbering & Blank Lines Office 2019
Novice
 
Join Date: Apr 2020
Posts: 1
Law is on a distinguished road
Default

Hi,

I also write poetry and normally used Open Office. When I recently started using Word to write I discovered this new problem where word counts blank lines. My solution is to use Open Office to count the lines in my poems as this program has a check box option in the line numbering box, which you can uncheck to stop counting 'blank lines'. It's too complicated for me to have to set up styles etc.

Hope this helps
  #8  
Old 04-07-2020, 11:38 AM
Charles Kenyon Charles Kenyon is offline Line Numbering & Blank Lines Windows 10 Line Numbering & Blank Lines Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

In Word a "blank line" is an empty paragraph and contains around 50 different formatting commands. Do not use the Enter key for spacing! Word is not a typewriter; it is a word processing program!
Basic concepts of Microsoft Word: An introduction by Shauna Kelly, MVP
2.2 Why you should press Enter only once to end a paragraph
  #9  
Old 04-30-2020, 10:12 AM
flyinfingrs flyinfingrs is offline Line Numbering & Blank Lines Windows 10 Line Numbering & Blank Lines Office 2019
Novice
 
Join Date: Apr 2020
Posts: 1
flyinfingrs is on a distinguished road
Default

WordPerfect is also a word processing program, yet when you ask it to count lines, it gives you the option of not counting blank lines. I keep an old version of WordPerfect on my computer just for this feature. I'm a medical transcriptionist and get paid by the line, but blank lines are not counted. When you type as much as 5,000 lines of text per day, in all kinds of formats, having the feature of not counting blank lines is a necessity.
  #10  
Old 04-30-2020, 02:09 PM
macropod's Avatar
macropod macropod is offline Line Numbering & Blank Lines Windows 7 64bit Line Numbering & Blank Lines Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

This thread was started in 2010. It was resurrected in 2016 and has again been resurrected in 2020. Neither resurrection has contributed anything to resolving the OP's issue, which was addressed a decade ago. Thread closed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Closed Thread

Tags
2007, line, numbering

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Numbering & Blank Lines Lines adding by themselves chavic Word 2 12-21-2009 04:40 AM
Line Numbering & Blank Lines How to turn all blank lines into non-blank for legal forms sieler Word 3 04-12-2009 01:38 PM
When i clicked on a file, it showed up blank.(LIFE ON LINE)! angelo1405 Word 0 03-17-2008 04:47 PM
How to set the same length for different lines myword29 Word 0 09-28-2007 08:12 PM
Unable to print blank lines on a legal form dpenbag Word 0 03-20-2006 09:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft