PC Review


Reply
Thread Tools Rate Thread

Controlled space

 
 
DeeDee
Guest
Posts: n/a
 
      24th Jan 2009
I am using M S Windows Xp - Home Edition - 2002.
I don't want January at the end of one line and 2009 at the beginning of the
next. How do I keep them together.
 
Reply With Quote
 
 
 
 
Graham Mayor
Guest
Posts: n/a
 
      24th Jan 2009
Use a non-breaking space. E.g. if you insert the date with a macro, you
could use

Sub InsertUSFormatDate()
With Selection
.InsertDateTime DateTimeFormat:="MMMM" & Chr(160) & _
"d," & Chr(160) & "yyyy", InsertAsField:=False
End With
End Sub

or

Sub InsertUKFormatDate()
With Selection
.InsertDateTime DateTimeFormat:="d" & Chr(160) & _
"MMMM" & Chr(160) & "yyyy", InsertAsField:=False
End With
End Sub

or with a field use a switch e.g.

{ Date \@ "d MMMM yyyy" } with nonbreaking spaces (CTRL+SHIFT+Space) in the
switch.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


DeeDee wrote:
> I am using M S Windows Xp - Home Edition - 2002.
> I don't want January at the end of one line and 2009 at the beginning
> of the next. How do I keep them together.



 
Reply With Quote
 
Suzanne S. Barnhill
Guest
Posts: n/a
 
      24th Jan 2009
Insert a nonbreaking space with Ctrl+Shift+Spacebar.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"DeeDee" <(E-Mail Removed)> wrote in message
news:E7561D33-C27A-4012-A44E-(E-Mail Removed)...
>I am using M S Windows Xp - Home Edition - 2002.
> I don't want January at the end of one line and 2009 at the beginning of
> the
> next. How do I keep them together.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How is fan speed controlled? the_tool_man Computer Hardware 11 22nd Apr 2009 11:07 AM
How do I add 'controlled copy' and 'non-controlled copy' =?Utf-8?B?TmFuY3k=?= Microsoft Word Document Management 0 22nd Feb 2006 05:17 PM
controlled form mieke Microsoft Access 2 7th Feb 2006 05:42 PM
Controlled access to Wed Dad who want web safety Windows XP Networking 1 18th Jul 2004 01:21 AM
Controlled Playback? Help! Peter Microsoft Powerpoint 1 1st Aug 2003 10:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:58 AM.