Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dealing with arrays in VB5. Databse.

Posted on 1998-09-28
3
Medium Priority
?
131 Views
Last Modified: 2010-04-30
Assuming I have two or more textboxes on a form, index 0,1. How do I hide or show these using the with statement.
Please?

Thank you.
0
Comment
Question by:jstccean
  • 2
3 Comments
 

Author Comment

by:jstccean
ID: 1436938
I thank this community for allowing me to participate.
0
 
LVL 12

Accepted Solution

by:
fulscher earned 80 total points
ID: 1436939
With Text(0)
  .Visible = True
End with

Or

For i = 0 to 1
  With Text(i)
     .Visible = False
  End with
end for
0
 

Author Comment

by:jstccean
ID: 1436940
I thank you.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

972 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