Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Auto-generate controls on form

How do I write code to put a control (like a textbox) on a
form?

I have a list of fields and would like to create textboxes
on a form for each field - like the wizard.

Any sample code on how to get the form object and how to
create a textbox is appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Auto-generate controls on form

See John Walkenbach's site for an example:

http://j-walk.com/ss/excel/tips/tip76.htm
Creating a UserForm Programmatically

--
Regards,
Tom Ogilvy


"JJ" wrote in message
...
How do I write code to put a control (like a textbox) on a
form?

I have a list of fields and would like to create textboxes
on a form for each field - like the wizard.

Any sample code on how to get the form object and how to
create a textbox is appreciated.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost Form Controls Vlado Sveda Excel Discussion (Misc queries) 2 December 13th 07 02:54 PM
how to generate a unique form # when using an excel form template PJE Excel Worksheet Functions 1 May 24th 06 11:00 PM
Form Fields or Controls? David Cahill Excel Discussion (Misc queries) 1 May 14th 06 03:07 AM
ActiveX Controls vs Form Controls Alex Excel Discussion (Misc queries) 1 January 11th 06 08:46 AM
user form controls chris gee Excel Programming 0 July 15th 03 12:05 AM


All times are GMT +1. The time now is 12:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"