Solved

Work log - primary emphasis, FAST

Posted on 2014-12-06
2
72 Views
Last Modified: 2014-12-07
Attached is a notbook.  My goal is to make a few basic things happen

1. new entries happen from the top instead of the bottom.  
2. date/time should be automatic
3. no more than one line could be entered per item.

Assistance is greatly appreciated
Lined-Paper.docx
0
Comment
Question by:frugalmule
2 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
Comment Utility
Your document  has a table. The header row has two columns, but the rest of the table has only one, so it isn't clear where you want the date to go, but let's start with this;
Sub AddNote(strText As String)
    Dim tbl As Table
    Dim rw As Row
    
    Set tbl = ActiveDocument.Tables(1)
    Set rw = tbl.Rows.Add(tbl.Rows(2))
    rw.Cells(1).Range.Text = Date & " " & strText
End Sub

Open in new window

0
 

Author Closing Comment

by:frugalmule
Comment Utility
This would have worked, but I found an even better solution by incorporating it into a spreadsheet that already exists in our process.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
Introduction This tutorial provides instructions on how to properly format your Word document using the inbuilt tools provided. The benefits of using these tools means your documents are more accessible and easily portable to other applications an…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now