Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Work log - primary emphasis, FAST

Posted on 2014-12-06
2
79 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
ID: 40485297
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
ID: 40486055
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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
If you work with Word a lot, you probably use styles. If you use styles a lot, you've probably balled your fist more often than not when working with the ribbon. In Word 2007/2010, one of the things that I find missing when using styles is a quic…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

828 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