timnicholls
Technical User
So...all my macros I used in Office Word 2003 I cannot place on a toolbar in Word 2007...the all powerful ribbonUI exists!
Given that, I've used a good tutorial here:
To make a tab and buttons in the actual ribbon itself using VB6. That all works well. But now I place my macros in subs and they don't work??!!
The subs in my original macros hold really basic stuff like
Selection.TypeText Text:="Name"
Selection.TypeParagraph
Selection.TypeText Text:="Address"
Selection.TypeParagraph
Selection.TypeText Text:="Company"
Selection.TypeParagraph
and
Selection.TypeParagraph
Selection.InlineShapes.AddPicture FileName:= _
"C:\signature.jpg" _
, LinkToFile:=False, SaveWithDocument:=True
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeText Text:="Name"
Selection.TypeParagraph
Selection.TypeText Text:="Address"
Selection.TypeParagraph
Selection.TypeText Text:="Company"
Selection.TypeParagraph
Nothing special there...
Just the normal signature and name used at the bottom of letters.
So do I convert this macro code to VB code??
How do I do that???
Thanks
Tim
Given that, I've used a good tutorial here:
To make a tab and buttons in the actual ribbon itself using VB6. That all works well. But now I place my macros in subs and they don't work??!!
The subs in my original macros hold really basic stuff like
Selection.TypeText Text:="Name"
Selection.TypeParagraph
Selection.TypeText Text:="Address"
Selection.TypeParagraph
Selection.TypeText Text:="Company"
Selection.TypeParagraph
and
Selection.TypeParagraph
Selection.InlineShapes.AddPicture FileName:= _
"C:\signature.jpg" _
, LinkToFile:=False, SaveWithDocument:=True
Selection.TypeParagraph
Selection.TypeParagraph
Selection.TypeText Text:="Name"
Selection.TypeParagraph
Selection.TypeText Text:="Address"
Selection.TypeParagraph
Selection.TypeText Text:="Company"
Selection.TypeParagraph
Nothing special there...
Just the normal signature and name used at the bottom of letters.
So do I convert this macro code to VB code??
How do I do that???
Thanks
Tim