Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2011, 04:38 AM
spurk spurk is offline Word 2007 text rules Windows XP Word 2007 text rules Office 2007
Novice
Word 2007 text rules
 
Join Date: Apr 2011
Posts: 6
spurk is on a distinguished road
Default Word 2007 text rules

Hello,



I have a document which prints a name on books on the first page. I want to add a rule so if the line breaks it should only do so if the next word is longer then 3 characters, if it's 2 characters or less it should autosize the font so it fits on one line. Any ideas how to get this to work?

Thanks,
Spurk
Reply With Quote
  #2  
Old 04-26-2011, 08:26 PM
macropod's Avatar
macropod macropod is offline Word 2007 text rules Windows 7 32bit Word 2007 text rules Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi Spurk,

Paragraph justification normally takes care of that. Going to Word Options|Advanced > Compatability Options > Layout options and checking the 'Do full justification the way WordPerfect 6.x for Windows does' option also allows Word to fit a bit more on a justified line.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-26-2011, 10:59 PM
spurk spurk is offline Word 2007 text rules Windows XP Word 2007 text rules Office 2007
Novice
Word 2007 text rules
 
Join Date: Apr 2011
Posts: 6
spurk is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Hi Spurk,

Paragraph justification normally takes care of that. Going to Word Options|Advanced > Compatability Options > Layout options and checking the 'Do full justification the way WordPerfect 6.x for Windows does' option also allows Word to fit a bit more on a justified line.

Hello,

I attached a screenshot where it does not work very well. Do you have any ideas how to auto adjust this? Would love if the font scaled down for a perfect fit.

http://bildr.no/view/872086

Thanks
Reply With Quote
  #4  
Old 04-27-2011, 04:00 AM
macropod's Avatar
macropod macropod is offline Word 2007 text rules Windows 7 32bit Word 2007 text rules Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi Spurk,

The text alignment there suggests you haven't formatted the paragraph as justified. The 'Do full justification the way WordPerfect 6.x for Windows does' option only works on justified paragraphs.

Another possibility is to create a table with one cell that has a fixed height and width (eg Row= 'Exactly' 1 cm high Table = 8cm 'preferred width'). Then format the cell options with 'wrap text' off and 'fit text' on. With this setup, no text wrapping will occur. If the text is too long, Word will make every character narrower so that it fits.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 04-27-2011, 11:25 PM
spurk spurk is offline Word 2007 text rules Windows XP Word 2007 text rules Office 2007
Novice
Word 2007 text rules
 
Join Date: Apr 2011
Posts: 6
spurk is on a distinguished road
Default

I tried what you said, and i even tried several options but none of them worked as intended:

http://bildr.no/view/872709

Could you give me a screenshot?

Thanks!
Reply With Quote
  #6  
Old 04-28-2011, 12:17 AM
macropod's Avatar
macropod macropod is offline Word 2007 text rules Windows 7 32bit Word 2007 text rules Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Better still, see the table in the attached document. In particular look at the table width & column width (they are the same) and, under Cell > Options, the text wrapping and fit options. With the options set this way, you don't really need to specify a row height unless you don't like the default. With this setup, any text you insert into the table will be forced to fit on one line.

You can switch off the table borders if you don't want to see them.
Attached Files
File Type: doc Table Demo.doc (33.0 KB, 10 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 04-28-2011, 12:32 AM
spurk spurk is offline Word 2007 text rules Windows XP Word 2007 text rules Office 2007
Novice
Word 2007 text rules
 
Join Date: Apr 2011
Posts: 6
spurk is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Better still, see the table in the attached document. In particular look at the table width & column width (they are the same) and, under Cell > Options, the text wrapping and fit options. With the options set this way, you don't really need to specify a row height unless you don't like the default. With this setup, any text you insert into the table will be forced to fit on one line.

You can switch off the table borders if you don't want to see them.

i tried using your template but word is being silly towards me, i attached my document. maybe you can have a look? I really appriciate your help!
Attached Files
File Type: doc mal stående.doc (31.0 KB, 10 views)
Reply With Quote
  #8  
Old 04-28-2011, 01:08 AM
macropod's Avatar
macropod macropod is offline Word 2007 text rules Windows 7 32bit Word 2007 text rules Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi Spurk,

The problem is that your address-block field is in a frame inside the table. You need to delete the frame before putting the field into the table.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 04-28-2011, 01:42 AM
spurk spurk is offline Word 2007 text rules Windows XP Word 2007 text rules Office 2007
Novice
Word 2007 text rules
 
Join Date: Apr 2011
Posts: 6
spurk is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Hi Spurk,

The problem is that your address-block field is in a frame inside the table. You need to delete the frame before putting the field into the table.
Hello,

Im really not much a office user and i feel somewhat dumb asking these questions. But how do i do that? I don't see any frame at all :/
Reply With Quote
  #10  
Old 04-28-2011, 02:11 AM
macropod's Avatar
macropod macropod is offline Word 2007 text rules Windows 7 32bit Word 2007 text rules Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi Spurk,

You'll need to convert the table back to text. A dotted frame should then become visible. Click on the frame's border, then right-click and choose Format Frame > Delete frame. You can then recreate the table cell.

Note: I wouldn't expect to see any resizing until after you excute the mailmerge.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #11  
Old 05-03-2011, 03:47 AM
spurk spurk is offline Word 2007 text rules Windows XP Word 2007 text rules Office 2007
Novice
Word 2007 text rules
 
Join Date: Apr 2011
Posts: 6
spurk is on a distinguished road
Default

I cant find the dots you are speaking of, is there any chance you could fix the file for me? Im not getting anywhere with it :/

Thanks
Reply With Quote
  #12  
Old 05-03-2011, 04:56 AM
macropod's Avatar
macropod macropod is offline Word 2007 text rules Windows 7 32bit Word 2007 text rules Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Hi Spurk,

See attached.

Note: although the mergefields are still present, the document no longer functions as a mailmerge document. That is because without the data source Word will not allow it to remain onefor editing. Everything should be OK when you re-do the mailmege set-up and re-attach the datasource. If this works as I expect, the text compression will work when the mailmerge is executed, but you won't be able to preview it correctly.
Attached Files
File Type: doc mal stående.doc (28.5 KB, 9 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rules for when a long word should be split pjl9 Word 1 09-28-2010 07:07 AM
Word 2007 text rules Rules limits in Outlook 2007 grindy Outlook 3 09-13-2010 08:18 AM
Question about Tools>Rules and Alerts>E-mail Rules RichGuard Outlook 0 09-02-2010 05:19 PM
Automatically update text changes in word – Word 2007 webarnes Word 1 05-29-2009 02:48 PM
text box/rules disappearing joewool Misc 0 10-01-2007 05:34 AM

Other Forums: Access Forums

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