Thread View: comp.apps.spreadsheets
3 messages
3 total messages
Started by Stephen Sorensen
Fri, 20 Nov 1992 02:10
Quattro Macros--Help!
Author: Stephen Sorensen
Date: Fri, 20 Nov 1992 02:10
Date: Fri, 20 Nov 1992 02:10
27 lines
1515 bytes
1515 bytes
Hi folks,
Can ANYONE answer my question about using macros in Quattropro (I'm
using qp 4.0 for windows) ? All I want to do is have a macro go through
and color all the cells with numbers; I want it to leave the blank cells
alone. So far, I've got something like this:
{IF #NOT#@Active_Cell}{RIGHT}
{Setproperty....}
{Right}
I keep getting an error message about an invalid statement. Does anyone
know how to properly use such an "IF" clause ? The Quattro manuals seem
basically useless.
Any help would be GREATLY appreciated.
Thanks,
Steve
############################################################################
Steve Sorensen The H.John Heinz School
Carnegie-Mellon University
ss9o@andrew.cmu.edu Pittsburgh, PA
The stupid economy !
#############################################################################
Re: Quattro Macros--Help!
Author: Robert McDonald
Date: Fri, 20 Nov 1992 16:51
Date: Fri, 20 Nov 1992 16:51
35 lines
1774 bytes
1774 bytes
In article <0f34YZW00WBN88i1sO@andrew.cmu.edu> Stephen Sorensen <ss9o+@andrew.cmu.edu> writes:
>Date: Thu, 19 Nov 1992 21:10:45 -0500
>From: Stephen Sorensen <ss9o+@andrew.cmu.edu>
>Subject: Quattro Macros--Help!
>Hi folks,
>Can ANYONE answer my question about using macros in Quattropro (I'm
>using qp 4.0 for windows) ? All I want to do is have a macro go through
>and color all the cells with numbers; I want it to leave the blank cells
>alone. So far, I've got something like this:
> {IF #NOT#@Active_Cell}{RIGHT}
> {Setproperty....}
> {Right}
>
>I keep getting an error message about an invalid statement. Does anyone
>know how to properly use such an "IF" clause ? The Quattro manuals seem
>basically useless.
>
>Any help would be GREATLY appreciated.
>
>Thanks,
>Steve
>
There is one easy solution without a macro, and I can at least give you a
start on a macro that will do what you want.
The non-macro solution is to go to /options,colro
***********************************************
Robert McDonald / Internet: r-mcdonald@nwu.edu
Fin. Dept., Kellogg School, Northwestern Univ.
2001 Sheridan Rd., Evanston, IL 60208-2006
voice: 708-491-8344 / Fax 708-491-5719
***********************************************
Re: Quattro Macros--Help!
Author: Robert McDonald
Date: Fri, 20 Nov 1992 17:53
Date: Fri, 20 Nov 1992 17:53
49 lines
2318 bytes
2318 bytes
In article <0f34YZW00WBN88i1sO@andrew.cmu.edu> Stephen Sorensen <ss9o+@andrew.cmu.edu> writes:
>Date: Thu, 19 Nov 1992 21:10:45 -0500
>From: Stephen Sorensen <ss9o+@andrew.cmu.edu>
>Subject: Quattro Macros--Help!
>Hi folks,
>Can ANYONE answer my question about using macros in Quattropro (I'm
>using qp 4.0 for windows) ? All I want to do is have a macro go through
>and color all the cells with numbers; I want it to leave the blank cells
>alone. So far, I've got something like this:
> {IF #NOT#@Active_Cell}{RIGHT}
> {Setproperty....}
> {Right}
>
>I keep getting an error message about an invalid statement. Does anyone
>know how to properly use such an "IF" clause ? The Quattro manuals seem
>basically useless.
>
>Any help would be GREATLY appreciated.
>
>Thanks,
>Steve
>
First, sorry to all about my previous incomplete posting; I
accidentally sent it in the middle of typing and couldn't stop it.
There are two solutions to what you want to do. The non-macro solution
(which *sounds* as if it would suffice, based on your description) is to
select /Options,colors,conditional and you can then set numeric values to
display in whatever color you want.
A macro solution would be to use the fact that @cell can check whether a
cell has a value in it:
{if @cell("type",a1)="v"}etc...
and you could cycle through the spreadsheet, perhaps using @cellindex in
place of "a1". The first solution is definitely the easiest if it does what
you want.
-- Bob
***********************************************
Robert McDonald / Internet: r-mcdonald@nwu.edu
Fin. Dept., Kellogg School, Northwestern Univ.
2001 Sheridan Rd., Evanston, IL 60208-2006
voice: 708-491-8344 / Fax 708-491-5719
***********************************************
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads