'Sum column'

Have a problem? A question? This is the place for answers from other Express users.
Post Reply
paieye
Posts: 53
Joined: 2020-02-07 10:57:10

'Sum column'

Post by paieye »

I cannot find this indispensable macro. If it is not part of the package, is there some way of creating it in NWE ?
User avatar
martin
Official Nisus Person
Posts: 5222
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: 'Sum column'

Post by martin »

I'm sorry but the Sum Column macro is only available in Nisus Writer Pro. There are a small number of macros available in Nisus Writer Express, but they are quite limited (eg: Quote Selection). All our advanced macro capabilities are only in Nisus Writer Pro.

A person might be able to write a summation macro in Nisus Writer Express by dropping down to the Perl scripting language. You could do the necessary data validation and arithmetic using Perl code, which Express supports. However, it would be difficult or impossible to manipulate the Nisus document in the way you want, to extract all the numbers from each table cell and select the final cell in the column to replace its contents. I'm sorry about that.
paieye
Posts: 53
Joined: 2020-02-07 10:57:10

Re: 'Sum column'

Post by paieye »

Very disappointing, but thank you for your help.
paieye
Posts: 53
Joined: 2020-02-07 10:57:10

Re: 'Sum column'

Post by paieye »

Is it possible to Sum Column in NWPro so that the total appears at the top of the column, instead of at the foot ? Alternatively, how could I write a macro for this ?
User avatar
phspaelti
Posts: 1311
Joined: 2007-02-07 00:58:12
Location: Japan

Re: 'Sum column'

Post by phspaelti »

paieye wrote: 2020-08-22 00:27:54 Is it possible to Sum Column in NWPro so that the total appears at the top of the column, instead of at the foot ? Alternatively, how could I write a macro for this ?
It would be possible in NWPro. This here is the discussion for NWE though :?

If you are using NWPro now, then you could modify the code provided by Nisus software, though that may not be for the feint of heart. Just the other day I wanted to modify those macros to better suit my purpose, and I quickly discovered that that code is so involved that I would have to put that off to some day when I had more time. :o
philip
Post Reply