Question for VBA in Word

JackMDaniels

New Member
Joined
Feb 10, 2014
Messages
24
Hi Guys

I'm amending a document, there's an additional Ribbon named Add-Ins, inside this ribbon are the Macros, which is great. But when I hover my cursor over the Macros it has the previous company name.

I.e. "[COMPANY NAME] Toolbar : product_image"

Any idea how to amend this?

The ribbon name inside the Add-Ins ribbon is called "Custom Toolbars" also, if that helps :)

Thanks
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I'd guess there's some Commandbars code in the document.
 
Upvote 0
Hi Rory, thanks

Would that be something I'd find in the depths of the code? I guess just look for the instance of the old company name and amend to new
 
Upvote 0
Yep - try doing a search for Commandbars.add
 
Upvote 0
the only instance i can see of the company name i've changed -

Code:
 Sub Init(Optional auto As Boolean = False)    
    On Error Resume Next
        WordBasic.ViewToolbars Toolbar:="COMPANY NAME Toolbar", Show:=1
        
    ActiveWindow.View.ShowFieldCodes = False
End Sub

I get a prompt when I do change it saying "You have modified a signed project. You do not have the correct key to sign this project. The signature will be discarded. Do you want to save changes and discard the signature or cancel the save action?"

I selected "Save changed and discard signature"

Doesn't seem to have affected the problem though, still old company name when i hover over
 
Upvote 0
In that case I think there's a toolbar attached to the document or its template. I don't know if you can edit that without Word 2003 or earlier.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top