Excel 97 macro question about selecting an addin from tools

chickkkk

New Member
Joined
Apr 16, 2002
Messages
1
Can a macro record selecting “tools” and then activation of an add-in on the “tools” menu by recording my keystrokes?

I have an add-in that is normally selected from the tools menu. I wish to select it with a macro to change some initial settings for the add-in. I have attempted to do it by “ Record New Macro” having the macro record my keystrokes. When I begin, the “stop R” box appears on my screen. I then select tools and then the add-in name at the end of the tools menu. The add-in box comes up and the “stop R” box disappears and when I view the macro later it didn’t see any of the operations starting at selection the tools menu.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
On 2002-04-17 12:23, chickkkk wrote:
Can a macro record selecting “tools” and then activation of an add-in on the “tools” menu by recording my keystrokes?

I have an add-in that is normally selected from the tools menu. I wish to select it with a macro to change some initial settings for the add-in. I have attempted to do it by “ Record New Macro” having the macro record my keystrokes. When I begin, the “stop R” box appears on my screen. I then select tools and then the add-in name at the end of the tools menu. The add-in box comes up and the “stop R” box disappears and when I view the macro later it didn’t see any of the operations starting at selection the tools menu.

What exactly do you want to do ?
To install an addin vai code then

AddIns("Test").Installed = True
To close it;
Workbooks("Test.XLA").Close

To see if it is Loaded already

Set wkbTest = Workbooks("Test.xla")
If wkbTest Is Nothing Then
''' If it isn't installed, try to install it.
AddIns("Test").Installed = True
End If
 
Upvote 0

Forum statistics

Threads
1,213,554
Messages
6,114,280
Members
448,562
Latest member
Flashbond

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