Solved

EXCEL and VB

Posted on 2002-04-16
5
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

695 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