Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating & positioning text boxes using VBA code

Status
Not open for further replies.

Corsica

IS-IT--Management
Nov 30, 2004
30
GB
In the 'on_load' event of a form we want to write code that creates and positions a series of text boxes [that will then be seen on the form...]

Any ideas etc. would be much appreciated.
Corsica
 
Maybe you mean in vb5 & 6. This is VBA forum for excel, word etc. I'm i right ?

-bclt
 
Hi,

No, I mean the version of VBA that is part of the Access 2000 environment. - Sorry, should have said this at the outset.

I've used Access for years and had never before needed to create and position a series of text boxes in the 'on-load' event of a form...

-Corsica
 
Take a look at the Application.CreateControl method in the Access VBA help file.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanx, PH!

- Have just looked at the tips that the hyperlinks took me to. Will look for Application.CreateControl in the VBA help files a bit later.

CSC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top