Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default diference between FORMS & CONTROLS

people,

when i want to work with visual components placed on the worksheet, i
use FORMS toolbar

for example when i want to display value from combobox then i must
use Drawingobjects or Dropdowns collection

msgbox worksheets(1).dropdowns("combobox_number1").value



but when i use CONTROL toolbar
then i simply normally can do this

msgbox worksheets(1).combobox_number1.value


where is difference between this two TOOLBARS ???


visually they are similar


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default diference between FORMS & CONTROLS

Here's a quick explanation:

http://tinyurl.com/7yqgz

HTH
Jason
Atlanta, GA

-----Original Message-----
people,

when i want to work with visual components placed on the

worksheet, i
use FORMS toolbar

for example when i want to display value from combobox

then i must
use Drawingobjects or Dropdowns collection

msgbox worksheets(1).dropdowns("combobox_number1").value



but when i use CONTROL toolbar
then i simply normally can do this

msgbox worksheets(1).combobox_number1.value


where is difference between this two TOOLBARS ???


visually they are similar


---
Message posted from http://www.ExcelForum.com/

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default diference between FORMS & CONTROLS

Marek,

Forms controls are simpler and easier to use when you are starting out, but
Control toolbox controls are far more flexible, and far more useful (IMO),

Control toolbox controls have far more properties associated with them that
can be set at design time, or in VBA, such as BackColor, etc. In addition
you can add an item to a controls toolbox in VBA, you cannot with Forms, you
can only link to a worksheet range,

All in all, I never use Forms controls because of the lack of flexibility,
but beware that control toolbox controls are not straightforward to use in
code, because of the OLEObject container.

--

HTH

RP

"Marek " wrote in message
...
people,

when i want to work with visual components placed on the worksheet, i
use FORMS toolbar

for example when i want to display value from combobox then i must
use Drawingobjects or Dropdowns collection

msgbox worksheets(1).dropdowns("combobox_number1").value



but when i use CONTROL toolbar
then i simply normally can do this

msgbox worksheets(1).combobox_number1.value


where is difference between this two TOOLBARS ???


visually they are similar


---
Message posted from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default diference between FORMS & CONTROLS

thanks you all people for your links and repl

--
Message posted from http://www.ExcelForum.com

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
ActiveX to Forms controls Sian Excel Discussion (Misc queries) 2 January 31st 08 12:22 AM
Excel forms controls [email protected] Excel Discussion (Misc queries) 1 March 18th 07 04:37 AM
Questions about Forms & Controls hmm Excel Discussion (Misc queries) 3 December 20th 06 01:06 PM
Forms controls Catalin Excel Worksheet Functions 2 May 11th 06 03:44 PM
Forms Controls Chuck Taylor Excel Programming 2 December 1st 03 01:42 PM


All times are GMT +1. The time now is 08:57 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"