Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 7th, 2006, 03:15 PM
satya.mahesh@gmail.com
Guest
 
Posts: n/a
Default Eliminate blank lines in export (between headings and when a heading is empty)

Hi All,

I am working on a problem which "eliminates blank lines in export
(between headings and when a heading is empty)". I want a macro which
will do this job for me. For e.g:

Heading1

Heading2

Heading3

This is text under Heading 3

Output should be:

Heading1
Heading2
Heading3

This is text under Heading 3

Since heading heading 3 has content I want one blank space before the
content otherwise there should not be a blank. I did write one macro
which deletes blank lines. What it is doing is displaying the results
as follows:

Heading1
Heading2
Heading3
This is text under Heading 3

In order to solve this I inserted one dummy field(Ctl + F9) before the
paragraph under heading 3,hid that field and ran my macro so it worked.
However, I want it to dynamically recognise that there is text and
insert a blank line.Any ideas as to how it could be done? Appreciate if
anyone could provide me with a solution to this problem.

Thanks & Regards,
satya

  #2  
Old March 7th, 2006, 03:25 PM
Harlan Messinger
Guest
 
Posts: n/a
Default Re: Eliminate blank lines in export (between headings and when aheading is empty)

satya.mahesh@gmail.com wrote:[color=blue]
> Hi All,
>
> I am working on a problem which "eliminates blank lines in export
> (between headings and when a heading is empty)". I want a macro which
> will do this job for me. For e.g:
>
> Heading1
>
> Heading2
>
> Heading3
>
> This is text under Heading 3[/color]

[snip]

You've posted your question in the wrong newsgroup.
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles