T
Tom_OM
They say a picture is worth a k'zillion words (or something to that
effect), so here's my picture:
http://www.renamestar.com/wordproshots/wordprodivisions.htm
It's a screen shot of Lotus Word Pro's division feature. Every time I
use Word, I miss this feature like crazy. It feels like having one
hand tied behind my back. I've already plugged in via VBA four Word
Pro features that I wouldn't want to be without, and this one (the
most challenging one) remains.
Word has divisions, but lacks the ability to put the folder-like tabs
(that you can see in my screen shot) at the top that you can simply
click on to go to a division of the document.
I've been experimenting with the VBA IDE, and it looks like my best
bet is to use the tab strip control in a way that allows the runtime
creation of tabs that correspond to each division in a document.
Sound strategy?
I'm wondering about a few things. In regular VB 6, to use the tab
strip control, you need to choose Components from the Project menu and
then choose Microsoft Tabbed Dialog Control 6.0 (SP5). In other
words, you need to use that ActiveX control. However, in the VBA IDE
I couldn't help but notice that this component is already available in
the toolbox. Does this mean I'm not going to need to package the
ActiveX control if I distribute this add-in to someone else? Is the
VBA tab strip fundamentally different from the VB 6 one? I looked the
control up in my O'Reilly VB in a Nutshell book and wonder if the
material applies completely. I just ordered off for another Nutshell
control book, this one that purports to be about both VB and VBA (the
one by Paul Lomax). I'm hoping it clues you in on distinctions
between the two languages.
I'm also wondering about how I'm going to attribute each tab to a
section in the document. I'm thinking of using named bookmarks. Good
idea?
And what about putting those tabs into a tool bar? I've used the VB
tool bar extensively, but never ventured to using the cool bar, the
one that I think is dockable if I remember right. Is the cool bar the
way to go? Can I even use it at all in VBA?
I'm grateful for any help offered.
effect), so here's my picture:
http://www.renamestar.com/wordproshots/wordprodivisions.htm
It's a screen shot of Lotus Word Pro's division feature. Every time I
use Word, I miss this feature like crazy. It feels like having one
hand tied behind my back. I've already plugged in via VBA four Word
Pro features that I wouldn't want to be without, and this one (the
most challenging one) remains.
Word has divisions, but lacks the ability to put the folder-like tabs
(that you can see in my screen shot) at the top that you can simply
click on to go to a division of the document.
I've been experimenting with the VBA IDE, and it looks like my best
bet is to use the tab strip control in a way that allows the runtime
creation of tabs that correspond to each division in a document.
Sound strategy?
I'm wondering about a few things. In regular VB 6, to use the tab
strip control, you need to choose Components from the Project menu and
then choose Microsoft Tabbed Dialog Control 6.0 (SP5). In other
words, you need to use that ActiveX control. However, in the VBA IDE
I couldn't help but notice that this component is already available in
the toolbox. Does this mean I'm not going to need to package the
ActiveX control if I distribute this add-in to someone else? Is the
VBA tab strip fundamentally different from the VB 6 one? I looked the
control up in my O'Reilly VB in a Nutshell book and wonder if the
material applies completely. I just ordered off for another Nutshell
control book, this one that purports to be about both VB and VBA (the
one by Paul Lomax). I'm hoping it clues you in on distinctions
between the two languages.
I'm also wondering about how I'm going to attribute each tab to a
section in the document. I'm thinking of using named bookmarks. Good
idea?
And what about putting those tabs into a tool bar? I've used the VB
tool bar extensively, but never ventured to using the cool bar, the
one that I think is dockable if I remember right. Is the cool bar the
way to go? Can I even use it at all in VBA?
I'm grateful for any help offered.