Re: Using VBA need to add a text box to a form
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Fri, 19 May 2006 14:39:46 +0800
You cannot do this while the form is in use, so this technique is not
suitable for any database where you plan to release an MDE for users.
If you are designing some kind of wizard/tool for development purposes, you
can create a text box like this (assuming Form1 is open in design view):
Dim txt As TextBox
Set txt = CreateControl("Form1", acTextBox, acDetail, , , _
1440, 1440, 1440, 285)
txt.Name = "MyNewControl"
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Trever B" <TreverB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B1EFA54B-E78D-4CD4-9E32-5B5732E185CF@xxxxxxxxxxxxxxxx
Hi,
Thanks in advance.
Using VBA I want to a boxes to a form.
I am ok with the loop but just how do you add a textbox to a form using
code.
.
- Prev by Date: Re: Can you capture an event for ref in the code of the next event
- Next by Date: Can't enter or double click the list in Search Dialog Box
- Previous by thread: Re: Combobox Conditional formatting
- Next by thread: Re: Using VBA need to add a text box to a form
- Index(es):
Relevant Pages
|
Loading