Images
(See the full text with images at http://www.chrisgreaves.com/BlogUtils/)
Available in my UW.DOT library.
My background in application development has taught me to use libraries of utility procedures to speed up my development. This blog documents the new and the more commonly-used existing functions that can be found in my UW.DOT and UX.XLS libraries.
(See the full text with images at http://www.chrisgreaves.com/BlogUtils/)
http://www.chrisgreaves.com/Downloads/GUIundo.zip is a link to a ZIPped file you can download, inspect and adapt.
I have uploaded new versions of both UW.dot and UX.xla on the downloads page http://www.chrisgreaves.com/Downloads/
Word does not provide a frame-management facility. Frames were orphaned with the release of Word97.
Legacy documents and legacy habits continue to provoke problems with frames.
These procedures attempt to reduce the frustration associated with frames.
As a minimum, we wish that Word’s Edit-Replace dialogue provided an option to replace frames in the sense that we can replace section breaks and other non-text items.
We will provide ability to locate and select the next frame, to clear all frames, to count the frames in a document.
Replacement of a frame prompts us to ask what makes sense as a replacement?
The procedures supplied allow the developer to:
These procedures could form the basis of a GUI form similar to Word's Edit, Replace.
Public Function lngCountFrames(rng As Range) As Long
Public Function SelectBackwardFrame(ByVal rng As Range)
Public Function SelectFirstFrame(rng As Range)
Public Function SelectForwardFrame(ByVal rng As Range)
Public Function SelectLastFrame(rng As Range)
Here is a crude attempt to circumvent the frame/table problem:
I have uploaded UW350.dot.
I have uploaded UW345.dot.
I have uploaded UW345.dot.