NISUS Archives

May 2011

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Þorvarður Davíðsson <[log in to unmask]>
Reply To:
Date:
Mon, 30 May 2011 22:43:27 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
On 30.05.2011, at 16:02, Doug Browne wrote:

> I have a table and wish to insert the row numbers followed by a period and about four spaces.
> eg    4.    Start the text ...


Wouldn’t you want to have a macro to do this for you? I don’t know about you, but I would.

The macro is almost finished, I just need help from the list with one command.

Imagine I have a table with several rows. I place the insertion point in a cell and a number will be correctly inserted with this:

$startNumber = 1
Type text $startNumber+1


but how can I add a string to the number? If I try this

$startNumber = 1
Type text $startNumber+1 & '.    '


then I get an error. Obviously & is not the sign to be used. What am I supposed to use then instead?

ATOM RSS1 RSS2