how do I write code that will work with an add in

Maui

Board Regular
Joined
Jan 13, 2006
Messages
159
I am using an excel addin to a reporting software database named Adaytum, this is a windows application. . I have a drop down menu in excel that I just hit the menu, put in a password and then press refresh. I have tried recording this as a macro but when you look at the code there is none there. Is there anyway I can get code that will do this for me.

thanks in advance

Maui
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
You may get a clue by right clicking any ToolBar and choosing Customise. Then right click the menu item and choose Assign Macro. Make a note of the macro name and use Application.Run to run it.
 
Upvote 0
I cant find adaytum drop down in customise so this isnt an option.

You said "I have a drop down menu in excel that I just hit the menu". So can't you right click that on the actual menu (not in the Customize dialog)?
 
Upvote 0
when I right click I get the toolbar options menu. where I vcan tick to see a toolbar or customise only.
 
Upvote 0
First right click any Toolbar and choose Costomize to get the Customize dialog. While that is on the screen, left clicking a menu item will expand it (if possible) and right clicking will show a dropdown menu containing Assign Macro at the bottom.
 
Upvote 0
Sorry

I got there now

I have tried running this

Sub adaytum()


Adaytum_CubeRefreshAll
Application.Run



End Sub


says Adaytum_CubeRefreshAll this is not defined

any ideas.
 
Upvote 0
Application.Run ("Adaytum_cubeRefreshAll")


gort it working now.

do you know how to auto enter a password.
 
Upvote 0

Forum statistics

Threads
1,203,600
Messages
6,056,202
Members
444,850
Latest member
dancasta7

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