473,434 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

Just point me in the right direction

I feel kind of stupid for even posting here. I have been using Excel for years, but am just now trying to learn some of the VBA uses. I am not a programmer and that is the main problem. I have purchased the "Special Edition, Using Excel 2000" and have read most of the VBA chapters. They seem to give good explanations of what VBA is and how it can be used...but it doesn't seem to go into great detail as to the code needed for various functions and how to write that code. I am working on a simple test for my department that has an object box with 4 check boxes, a text box and a command button. Three of the four check boxes are required for the answer to be correct. When these three boxes are checked, I would like to have the text box read "Correct", and if any other combination of boxes are checked, I would like it to read "Incorrect". Clicking the command button should show the correctly checked three boxes.

I am not looking for someone to write my code for me, just tell me where I can go to see some examples of this kind of code so I can begin to learn this.

Any help would be apprecitated.
Nov 9 '07 #1
2 1083
I am new to VB and found some books at the local library today to help. One I picked up but haven't looked at yet is "From VBA to VSTO, Is Excel's New Engine Right For You?" Author is Dr. Gerard M Verschuuren and the ISBN is 1-932802-14-2. This might help you. It looks like it has a lot of info in it.

I feel kind of stupid for even posting here. I have been using Excel for years, but am just now trying to learn some of the VBA uses. I am not a programmer and that is the main problem. I have purchased the "Special Edition, Using Excel 2000" and have read most of the VBA chapters. They seem to give good explanations of what VBA is and how it can be used...but it doesn't seem to go into great detail as to the code needed for various functions and how to write that code. I am working on a simple test for my department that has an object box with 4 check boxes, a text box and a command button. Three of the four check boxes are required for the answer to be correct. When these three boxes are checked, I would like to have the text box read "Correct", and if any other combination of boxes are checked, I would like it to read "Incorrect". Clicking the command button should show the correctly checked three boxes.

I am not looking for someone to write my code for me, just tell me where I can go to see some examples of this kind of code so I can begin to learn this.

Any help would be apprecitated.
Nov 10 '07 #2
I have found various ways to learn VB programming.
If you want to automate a sequence of events that you can do manually, start the Macro recorder, carry out your operations, stop the recorder then you can open the macro and look at the code. This can then be transferred to a larger program if required.

The Help files are also a good way to learn but it can be difficult finding an answer to your problem if you don't know any of the commands you need to use, but I find that if you keep trying you can eventually find something that fits your needs.
Another option is to get one of the '..for Dummies' books from the library or Ebay. They are available on most subjects and are useful for beginners and people who already have a bit of VB knowledge.
Nov 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: MooMaster | last post by:
I'm a complete beginner in Python, but I've been fooling around with Java for a couple years, so I have decent programming experience... Anyway, I was sitting around playing with Python, when I...
1
by: A. Name | last post by:
Can someone please point me in the right direction? This is what I want to accomplish. The page has a simple form for input on it. When a user enters in information and clicks the button, the...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
17
by: Gernot Frisch | last post by:
Hi, does repeatingly doing this: float num = GetRandomFloat(); for(;;) { float random = GetRandomFloat(); num*=random; num/=random;
2
by: Jan Althaus | last post by:
Mostly for testing reasons I'd like to see if it makes sense to chose the following approach for just-in-time compilation of shaders for a renderer: Seeing as the shaders themsefs consist mostly...
14
by: spamtrap | last post by:
Mostly for testing reasons I'd like to see if it makes sense to chose the following approach for just-in-time compilation of shaders for a renderer: Seeing as the shaders themsefs consist mostly...
5
by: AManAfterGod | last post by:
OK, I'm fairly new to Java and I wanted to try if I could convert an easy Microsoft Excel problem into Java but I've hit a road block. I was wondering if one of you could point me in the right...
2
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, i have an excel file that contains employee information. inside the workbook there are numerous worksheets - one per employee. is it possible to iterate thru the workbook reading pieces...
3
by: pjmulla | last post by:
I am nes to python and need some help. Can anyone lead me in the right direction to create and print a Point object, and then use id to print the object's unique identifier. Translate the...
6
by: chloejacobs | last post by:
Hi every1! My first post on Bytes :) I want to create a simple web page that will read of CSV file, sort the file by certain fields, take out duplicate entries if 3 fields have the same value...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.