If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Time Log & Text Allignment
Hello!
I am trying to make a time log in Word 2007 where the entry is not a sequential series of times. In Word 2003, this was done as follows: 0024-(space)(space)first line of text....... 2nd line of text............(enter)(enter) and it would format it like this: 24- first line of text...... 2nd line of text..... The next entry might be: 1023- this line now this line next Two questions: 1st, I cannot seem to be able to get Word 2007 to create the time entry as a style or format. 2nd, I cannot seem to figure out how to get the text alligned when I hit enter twice. Any help would be appreciated! |
#2
|
|||
|
|||
Time Log & Text Allignment
First of all, you don't want to have to press Enter twice. You create your
style with a hanging indent where you want the second line to start and enough Spacing After to create the appearance of a blank line. Then you either let the entry wrap to the second line naturally or, if you want an artificial break, press Shift+Enter to insert a line break. To end the paragraph you press Enter once. Your new paragraph will begin flush left. If you want the part of the first line following the number to align with the runover text, press Tab after the number (usually a tab stop will automatically be set at the position of your hanging indent). The Normal style in Word 2007 by default has 10 pts Spacing After. This, combined with the 1.15 line spacing will give you the equivalent of at least 12 points Spacing After, which should be adequate. The built-in List style could be adapted to your purposes (it has a 0.25" hanging indent by default, but you could change this), but by default it is formatted as "Don't add space between paragraphs of the same style," which means you'd have to change two things about it, so you might as well start with a brand-new style based on Normal. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Matrix" wrote in message news Hello! I am trying to make a time log in Word 2007 where the entry is not a sequential series of times. In Word 2003, this was done as follows: 0024-(space)(space)first line of text....... 2nd line of text............(enter)(enter) and it would format it like this: 24- first line of text...... 2nd line of text..... The next entry might be: 1023- this line now this line next Two questions: 1st, I cannot seem to be able to get Word 2007 to create the time entry as a style or format. 2nd, I cannot seem to figure out how to get the text alligned when I hit enter twice. Any help would be appreciated! |
#3
|
|||
|
|||
Time Log & Text Allignment
For a start you should never 'hit enter twice'. Always use space between
paragraphs. It makes re-editing the document far simpler. Create a hanging indent paragraph style - call it Time Log if you wish - with about 18 points of space after and sufficient hanging indent to align your text after the time.. Then with that style applied Enter the 'time, then tab then enter the text. Press Enter once to enter the next timed line. If you want Word to add the current time (i.e. the log is created in real time) then having created the style "Time Log", use the following macro attached to a QAT button or keyboard shortcut to format the paragraph at the cursor, insert the current time and tab to the first text position. If the paragraph already has text, the time is added to the start of the paragraph and the cursor remains in the same place. Sub TimeLog() Dim sNum As Long With Selection sNum = Len(.Paragraphs(1).Range) With .Paragraphs(1).Range .Collapse wdCollapseStart .Style = "Time Log" .InsertDateTime DateTimeFormat:="HH:mm" & vbTab, _ InsertAsField:=False End With If sNum = 1 Then .EndKey End If End With End Sub http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Matrix wrote: Hello! I am trying to make a time log in Word 2007 where the entry is not a sequential series of times. In Word 2003, this was done as follows: 0024-(space)(space)first line of text....... 2nd line of text............(enter)(enter) and it would format it like this: 24- first line of text...... 2nd line of text..... The next entry might be: 1023- this line now this line next Two questions: 1st, I cannot seem to be able to get Word 2007 to create the time entry as a style or format. 2nd, I cannot seem to figure out how to get the text alligned when I hit enter twice. Any help would be appreciated! |
#4
|
|||
|
|||
Time Log & Text Allignment
That is just what I needed. Thanx everyone!!
|
Thread Tools | |
Display Modes | |
|
|