Quote:
Originally Posted by Gauthier
Correction for the parent folder selection issue I have.
replace
|
Thanks!!
I've updated the BC 2007 with your updates. There where a few differences in the code you suggested and what I used here is a list below. Also would you please download the zip I've attached to this post and see if it works in your MS Word 2010
DIFF
Used
Code:
#If Win64 Then
instead of
#If VBA7 Then
Since the real difference is the 32bit vs 64 bit and not VBA7 vs older VBA
>>>
I think there was a bug in the code you provded
Code:
strPFPath = VBA.Environ("ProgramFiles(x86)")
If strPFPath = "" Then
strPFPath = VBA.Environ("ProgramFiles")
End If
setCalibrePath strPFPath + "\Calibre"
End If
I think you meant to say
strPFPath = VBA.Environ("ProgramFiles(x86)")
Code:
If strPFPath = "" Then
strPFPath = VBA.Environ("ProgramFiles")
End If
setCalibrePath strPFPath + "\Calibre"
Also I removed the Sleep function since it was not used in the code.
Quote:
Originally Posted by Gauthier
Making drop down in the ribbonUI is not very difficult, I remember doing it for some access project.
<group ...>
<menu id="..." label="" imageMso="..." itemSize="..." >
<button ... />
<button ... />
</menu>
</group>
Creating a button on the fly is not possible, at best you can hide and show those you defined in the Custom UI.xml
|
Awesome!! That did it.
Question is there any way I could group a button and menu item together so I could get
<Word Wrap ...v>
Where if the user presses the word "Word Wrap a method is executed and if the user presses the "v" menu button a drop down menu appears.
For further reference the "Add-Ons" ribbon has the features I'm looking for
=X=