Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Interactive user form design

All of the controls and the form itself have a Left, Top, Width and Height
property. You can adjust these within your code.

Example

Me.Height = 200 'changes the form height

Me.Controls("cmdOK").Left = 50 'changes the OK button's left position

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"simonc" wrote in message
...
Is it possible to adapt the design of a user form (size of form, what
items
are displayed etc) based on decisions made earlier during running the
macro?
If so, how do you do this? Is there somewhere hidden in the code all the
dimensions and positions of the different user form items, where you could
base these on variables from elsewhere in the programme?

Grateful for any help.



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
How do i insert an interactive calendar in an excel form Maria[_3_] Setting up and Configuration of Excel 2 April 26th 09 01:54 PM
Inserting Interactive Excel Form into PowerPoint SK Excel Discussion (Misc queries) 0 September 8th 08 04:19 PM
Interactive user form design John Bundy Excel Programming 0 December 11th 06 01:47 PM
Interactive Form Ctech[_106_] Excel Programming 1 March 16th 06 01:02 PM
design form? [email protected] New Users to Excel 5 January 31st 05 03:26 AM


All times are GMT +1. The time now is 06:26 PM.

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

About Us

"It's about Microsoft Excel"