Hide/Show sections (or tables) without VBA? Word 2007

K

ker_01

In Excel, you can group rows, and by clicking on the corresponding "plus"
icon you can show/hide every row in that group.

Is there any functionality like that in Word, where a Word table (or range)
could be show or hidden without using VBA?

Thank you!
Keith
 
J

Jay Freedman

(1) Select the rows in question and press Ctrl+Shift+H to format them as
Hidden text. To redisplay them, press Ctrl+Shift+8 or click the ¶ button to
display hidden text and nonprinting characters; select the hidden rows and
again press Ctrl+Shift+H to turn off the Hidden formatting.

(2) Embed a section of an Excel worksheet in the Word document and use
Excel's functionality.

Anything else would require VBA.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
S

Stefan Blom

You can hide text by selecting it and applying the Hidden attribute (Font
dialog box).
 
K

ker_01

Thank you Jay & Stefan.

The hiding and unhiding would have to be done by the end users, who have a
wide range of technical skills. If I hid the text, many would not know it was
there, or how to unhide it- so I don't think that will be a workable option
for this project.

I like the idea of embedding the Excel worksheet, and will explore that
further. At least in preliminary testing, my concerns are
(a) will it look 'professional' enough - it isn't a seamless interface; the
user has to double-click the embedded Excel table, then the OLE 'box' appears
with column and row labels, etc.
(b) for the areas we do leave 'visible', the user still has to double click
to enter data (for folks at the low end of the technical spectrum, that could
still be a problem).

My further testing will also have to include how the OLE object acts when
the Word document is protected (the goal is to protect everything except the
data entry areas). I'm a little worried about how to ensure that they could
enter their data but also not change the format or structure within Excel (so
I'd have a protected Excel document embedded in a protected Word document)

Last challenge would be to figure out how to use VBA to extract data from
the embedded Excel file(s), instead of just from the surface Word document.

I already have a headache, just thinking about all of this. It may be a good
rationale for moving everyone from Word to an online form...

:)

Thank you again for your suggestions,
Keith
(2) Embed a section of an Excel worksheet in the Word document and use
Excel's functionality.

This is probably my best option, if I can make it look 'professional' enough
and not
 
J

Jay Freedman

Just one further comment: Word is not, and never was, intended for users "at
the low end of the technical spectrum". It's a big, complicated program with
lots of capabilities but also lots of pitfalls. Further, it's intended as an
*editor*, not a data entry application (although it may appear to offer that
as a feature, it's really quite limited).

If you have the opportunity to move your application to an online form, that
will probably be a good move for the long run.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top