Excel VBA user form - excel

I created a userform that I would like to keep open on my desk top. Problem is I cannot open an existing excel spread sheet. I have to close my userform first or open the program excel and then open my worksheet. I cannot go to "my documents" and open an existing excel worksheet directly. Any idea's would be greatly appreciated. I am not the only person using the VBA userform.

Try setting the Userform's ShowModal property to False

Related

VBA Userform Combobox not populating on open

It been a while since I built a userform in Excel, so forgive me if this is something obvious. I have a userform containing a number of comboboxes. On opening the workbook, I populate them all with a list of reports stored in SQL, using the Workbook_Open macro.
However, when I close the userform and then reopen it, the comboboxes are empty. I that the way userforms work? Do you need to populate these boxes each time you launch the userform? I'm happy to do this but just wanted to check in case I'm missing a setting or a simple line of code.
Thanks

Cannot execute macro module

I am currently working on creating my own Ribbon in excel. I wrote out the specific code in a module in a macro-enabled workbook that I will subsequently save as an Excel add-in (.xlam). However, whenever I try to run the module in my macro enabled workbook, the select macro window appears and no code is executed (see picture for reference). Subsequently, I think this is what is also causing my ribbon button to give the following error when clicked "The macro may not be available in this workbook or all macros may be disabled."
Any help/suggestions would be appreciated. Thanks.

How to ignore a WB.Open pop out Userform?

I want to update a code of a macro-enabled excel file without changing anything on the sheets. The problem is upon opening the workbook, a userform automatically pops out which does something on a sheet upon filling up the form or just by closing it. The creator did not put some Admin button stuff to bypass the userform. How can I update a code inside the project and save it without altering the sheet contents or in other word, bypass the userform upon opening? Thanks in advance.
You need to open the file while pressing "SHIFT" held down. This way macros are not executed.

Excel form with VBA

I was given this Excel VBA form to fix. As soon as I open it, it jumps to the form and the tool bar and all menu buttons disappear. I need to access the VBA code behind the form to fix it(atleast try). How do I get to the guts of this form. I have passwords but do not know where to enter them. Thanks in advance.
I click the sheet and a dialog box pops up:
"The cell or chart you're trying to change is on a protected Sheet. To make changes, click Unprotect Sheet in the Review tab(you might need a password)."
The problem is, I cannot see the Review Tab or any other tab. Nothing.
Open the file without activating VBA. Just open Excel, and then, in Recent Workbooks, press SHIFT and the open the Workbook. That way, the macros should not activate, and you can check the code.
Or just move the Workbook to a non trusted root, and open it.

i have a userform in excel which i want to convert to an addin or menu item in excel 2003

i have wriiten a small vba code(userform & modules associated) for concatenating files in a user inputed folderpath. Currently i have this placed in personal.xls and everytime after opening excel i press ALT+F11 and go to the userform and run it (press F5).
I want this userform to be placed in as an addin or menu item in excel (available for all spreadsheets).
I know i need to assign a macro to a menu-item i add, but i have many subs (both in userform & modules associated) and not have instantiated my userform anywhere. i don't know which of these subs i need to assign to menu-item.
MAIN GOAL: is i wan't a menu item (or addin) which when i click pops up the userform. (afterwards running same as when i ran it from visual basic editor).
THINGS TRIED: i tried copying the userform & modules to a new project and saving it as an excel addin (.xla file) and placed the addin in excel add-ins folder. I have selected the addin from Tools>Addins option in excel. But, i think this way i was not able achieve what i needed as i don't see any new option/menu-item added to excel.
Thanks in advance
ps: I'm new to vba and just started working on it a week ago, so give me more detail in your answers.
You did it right with add-in but in order to use your code you need to add menus, check this out.

Resources