Solved

EXCEL and VB

Posted on 2002-04-16
5
197 Views
Last Modified: 2013-12-28
I need to upgrade my EXCEL spreadsheet user-interaction for the volunteer organisation I am a member of.
In the past, all that is presented to the user when they log on is my purpose-written User Form to look at information regarding members (names addresses etc)
Now the organisation needs a bit more interaction and I need to upgrade the form.
The trouble is that before, all the interaction was done by Command Buttons but the changes they want would mean about 20 buttons!
What I want to do is add a MENU structure to my user form. Having used the HELP I can see how to add user menues to the SPREADSHEET part of EXCEL but I do not think I can add menues to my UserForm. Is this correct?
I do not want to add the menues to the spreadsheet part, just my form.
If menues cannot be added, how can I do it using the available controls? Anyone out there got over this problem?

I am using EXCEL 97

Part 2: When I run VB from the EXCEL TOOLS/MACRO options in the spreadsheet menu, does the VB come with the EXCEL package or am I kicking off another program? Is there an upgrade for VB that I can download? IE Is there a download for VB that does have userform menu controls in it? I believe that the (separately purchasable) VisualBasic package contains such a thing.
0
Comment
Question by:GSD4ME
5 Comments
 
LVL 6

Expert Comment

by:bartsmit
ID: 6947863
I suggest that you move this question to the Visual Basic forum or at least drop a 0-points question in there with a link to this one.
0
 

Expert Comment

by:senan072100
ID: 6949114
would you move ur question to Visual basic  section so u can shar it with right experts, meanwhile I 'll look into it

senan
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 6949376
You may also consider an Access database/forms approach to this.
0
 
LVL 44

Accepted Solution

by:
bruintje earned 50 total points
ID: 6953334
Hi ,

For the first part
Excel doesn't support menus on the user form, and it would be a lot of trouble to try and do this

an alternative to using a menu or buttons would be comboboxes as you see on web pages,

yeah i know it's not standard GUI in apps but it would be the nearest to do it in Excel without getting something else (Access,VB etc...)

load the available commands in the list property of the combobox and with the listitem event you can call your code

For the second part
the VBA coming with excel IS part of the package so your code will run on machines if excel is installed and you package the code in modules retaining in the workbook you distribute

:O)Bruintje
0
 

Author Comment

by:GSD4ME
ID: 6962288
Thanks very much - a simple answer!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now