Thanks all. Seen the help stuff which is why i need help as all i get are errors. I was hoping answer to the printer error to be more on correctly defining the printer.
RobBroekhuis ,
For some reason it has no effect. I even when I put the code on the AutoNew module of the template the document is based on, it says the method "visible" property failed. When you do it manually from the document's vba environment, it works but not when run from VB.
C.
'extract of Code used - how do you get normal Word standard Menus to load automatically
'-------------------------
dim Wapp as application
dim WDoc as word.document
Set WApp = GetObject("", "Word.Application")
If Err.Number <> 0 Then
Set WApp =...
I am loading a Word document from VB App using createobject, etc. When the document is displayed, (even not in full screen view), all of Word's menu bars/command bars are not visible. Even when attempting to make the commandbars visible using code (either from Word or the document's template, it...
I am creating a document automatically from a VB App and displaying it after creation. It automatically hides all menubars or custom command bars even when not in full screen view. Any tips
I am using a datagrid which is bound to rows from sql containing picture fields. I am getting an error on the picture field , how do you display images correctly on datagrids - are there restrictions to picture file types etc?
rmikesmith,
Thank you very much. That's just what I wanted, didnt know what the command bar would be when you're on the document but this is perfect for what I need.
Christel
Does any one know of a way to hook into (or customize ) the default right-click menu that's displayed when selecting text in Word? eg The menu for Cut, Copy, is there a way to add items to this dropdown menu?
I was trying to do it from Word VBA and you do not have the menu builder functionality that you have in VB. Is there a way to do this? I ended up using a combobox to display options but I really would've preferred the VB type menu. You can build a Word Toolbar or commandbar but it is not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.