J
JuanManuel
Hi,
I’m trying to implement something similar to AutoFilter in Excel. I have
several tables in a document. Two of the columns in each table are called
“Service Description†and “Type of inspection†respectively. Since there are
only three Types of inspection, a simplified version of those two columns
could look as follows:
“Service Description†“Type of Inspectionâ€
Description1 C1
Description2 C1
Description3 HGP
Description4 HGP
Description5 MI
Description6 MI
Let's suppose that every table has something similar to what's shown above.
What I would like to accomplish is that through the click of a button or a
macrobutton field or whichever you consider is the most appropriate event
handler, every table in the document gets filtered based on the Type of
Inspection.
I was thinking about having three macrobutton fields, called "CI", "HGP" and
"MI", so that upon double-clicking "CI" for example, every table in the
document hides/unhides the appropriate rows. (i.e it only shows the rows that
correspond to a CI Inpection Type).
Is there a way to accomplish this? How can I refer to each table in a
document? and moreover, How can I select the appropriate range to hide it
based on the clicked button?
Thank you,
Juan
I’m trying to implement something similar to AutoFilter in Excel. I have
several tables in a document. Two of the columns in each table are called
“Service Description†and “Type of inspection†respectively. Since there are
only three Types of inspection, a simplified version of those two columns
could look as follows:
“Service Description†“Type of Inspectionâ€
Description1 C1
Description2 C1
Description3 HGP
Description4 HGP
Description5 MI
Description6 MI
Let's suppose that every table has something similar to what's shown above.
What I would like to accomplish is that through the click of a button or a
macrobutton field or whichever you consider is the most appropriate event
handler, every table in the document gets filtered based on the Type of
Inspection.
I was thinking about having three macrobutton fields, called "CI", "HGP" and
"MI", so that upon double-clicking "CI" for example, every table in the
document hides/unhides the appropriate rows. (i.e it only shows the rows that
correspond to a CI Inpection Type).
Is there a way to accomplish this? How can I refer to each table in a
document? and moreover, How can I select the appropriate range to hide it
based on the clicked button?
Thank you,
Juan