Conditional Table Rows

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

Is it possible to have rows of a table appear conditionally, for example:

{ IF defined(AUTOTEXT item3)=TRUE
"[ | | ]" "" }

(I mean real tables - the ascii here is just for illustration)

Thanks,
Penggu
 
Hi =?Utf-8?B?UGVuZ2d1?=,
Is it possible to have rows of a table appear conditionally, for example:

{ IF defined(AUTOTEXT item3)=TRUE
"[ | | ]" "" }
Not individual table rows, no. An entire table (which could consist of a
single row), yes.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
I wonder what the MACROBUTTON TableDeleteRow could do....

Cindy M -WordMVP- said:
Hi =?Utf-8?B?UGVuZ2d1?=,
Is it possible to have rows of a table appear conditionally, for example:

{ IF defined(AUTOTEXT item3)=TRUE
"[ | | ]" "" }
Not individual table rows, no. An entire table (which could consist of a
single row), yes.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)


This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
Is there any way to run a macro in the document? For example, the MACROBUTTON
thing wants you to click on it.

I want to run TableDeleteRow if certain conditions aren't met.

eg { IF "{ AUTOTEXT xyz }"="FALSE" TableDeleteRow "{ AUTOTEXT xyz }"}

?

Thanks

Penggu said:
I wonder what the MACROBUTTON TableDeleteRow could do....

Cindy M -WordMVP- said:
Hi =?Utf-8?B?UGVuZ2d1?=,
Is it possible to have rows of a table appear conditionally, for example:

{ IF defined(AUTOTEXT item3)=TRUE
"[ | | ]" "" }
Not individual table rows, no. An entire table (which could consist of a
single row), yes.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)


This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
Hi =?Utf-8?B?UGVuZ2d1?=,
Is there any way to run a macro in the document? For example, the MACROBUTTON
thing wants you to click on it.

I want to run TableDeleteRow if certain conditions aren't met.

eg { IF "{ AUTOTEXT xyz }"="FALSE" TableDeleteRow "{ AUTOTEXT xyz }"}

?
I'm afraid there's no way to trigger a macro through the result of a field code.
The user has to do the triggering. Or, you'd need to link the action to an
event, such as Window_SelectionChange. This won't fire when the field updates,
but it will when the user tabs in a table, uses the up/down arrows keys or
clicks with the mouse. The macro would then have to search for the field, check
the result and perform the necessary action.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 
Back
Top