Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Controls Toolbox control vs Form Toolbox control

How come if I add a combo box from the "Controls Toolbox" rather than the
combo box from the "Forms Toolbox", the size of my Excel worksheet becomes
much larger. ie: I had a spreadsheet with 65 combo boxes from the "Forms
Toolbox" and the size was around 600MB, but if I change all those combo boxes
to the combo boxes in the "Control Toolbox", the size becomes just under 1MB.
I am getting the same functionality by using both types of controls, just a
little different code to reference the methods and properties, so I was
wondering why the increase in size.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Controls Toolbox control vs Form Toolbox control

Oops...the size before is 600K, not 600MB. Sorry about that typo.

"Tony_VBACoder" wrote:

How come if I add a combo box from the "Controls Toolbox" rather than the
combo box from the "Forms Toolbox", the size of my Excel worksheet becomes
much larger. ie: I had a spreadsheet with 65 combo boxes from the "Forms
Toolbox" and the size was around 600MB, but if I change all those combo boxes
to the combo boxes in the "Control Toolbox", the size becomes just under 1MB.
I am getting the same functionality by using both types of controls, just a
little different code to reference the methods and properties, so I was
wondering why the increase in size.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Controls Toolbox control vs Form Toolbox control

the controls toolbox gives you the ActiveX conrtrols. These are more complex
than those from the form and enable you to do much more. However, there are
problems inherent too, so if you can get away with the forms controls, I'd
stay with them.

eg sometimes if you print preview a sheet with the activex controls, the
controls may resize and even move when you cancel the preview & return to the
sheet.

Patrick Molloy
Microsoft Excel MVP

"Tony_VBACoder" wrote:

Oops...the size before is 600K, not 600MB. Sorry about that typo.

"Tony_VBACoder" wrote:

How come if I add a combo box from the "Controls Toolbox" rather than the
combo box from the "Forms Toolbox", the size of my Excel worksheet becomes
much larger. ie: I had a spreadsheet with 65 combo boxes from the "Forms
Toolbox" and the size was around 600MB, but if I change all those combo boxes
to the combo boxes in the "Control Toolbox", the size becomes just under 1MB.
I am getting the same functionality by using both types of controls, just a
little different code to reference the methods and properties, so I was
wondering why the increase in size.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Controls Toolbox control vs Form Toolbox control

I am correct in thinking that the forms controls are Unicode aware, whilst
the ActiveX (and VB in general) is not ?

NickHK

"Patrick Molloy" wrote in message
...
the controls toolbox gives you the ActiveX conrtrols. These are more

complex
than those from the form and enable you to do much more. However, there

are
problems inherent too, so if you can get away with the forms controls, I'd
stay with them.

eg sometimes if you print preview a sheet with the activex controls, the
controls may resize and even move when you cancel the preview & return to

the
sheet.

Patrick Molloy
Microsoft Excel MVP

"Tony_VBACoder" wrote:

Oops...the size before is 600K, not 600MB. Sorry about that typo.

"Tony_VBACoder" wrote:

How come if I add a combo box from the "Controls Toolbox" rather than

the
combo box from the "Forms Toolbox", the size of my Excel worksheet

becomes
much larger. ie: I had a spreadsheet with 65 combo boxes from the

"Forms
Toolbox" and the size was around 600MB, but if I change all those

combo boxes
to the combo boxes in the "Control Toolbox", the size becomes just

under 1MB.
I am getting the same functionality by using both types of controls,

just a
little different code to reference the methods and properties, so I

was
wondering why the increase in size.



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
Is it possible to create a dynamic range in CONTROL TOOLBOX (form) [email protected] Excel Discussion (Misc queries) 7 July 27th 07 07:28 AM
Where is the control toolbox? Sol New Users to Excel 3 December 1st 06 09:50 AM
Where is the control toolbox? Sol New Users to Excel 0 November 30th 06 02:20 PM
Where is the control toolbox? John New Users to Excel 0 November 30th 06 12:36 PM
Form vs. Control Toolbox Jim Henderson Excel Programming 3 September 2nd 03 01:29 PM


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