p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

vba_word thread: Re: Current Line is Blank or not


Message #1 by patelpm@f... on Fri, 21 Jun 2002 22:07:47
You can select the line and use ...
   If Selection.Words.Count = 0 Then MsgBox "Blank Line"

Prakash

> This is a multi-part message in MIME format.

------=_NextPart_000_008F_01C1ED4B.00FD1280
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I want to check whether the current position where the cursor stand in a
paragraph is empty. Or in other words the current line no. at is blank =
or
not.

reg,

Dipak



------=_NextPart_000_008F_01C1ED4B.00FD1280
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I want to check whether the current =
position where=20
the cursor stand in a<BR>paragraph is empty. Or in other words the =
current line=20
no. at is blank=20
or<BR>not.<BR><BR>reg,<BR><BR>Dipak<BR><BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_008F_01C1ED4B.00FD1280--


  Return to Index