Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Instantiate controls and forms in an Add-in

I want to create an Add-in that automatically runs in the workbook when
I install it and then creates a command button in "A1". When that
button was clicked it will create a form with treeview and
listview....I can't find any tips and articles about that..is it
possible? please help me...thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default Instantiate controls and forms in an Add-in

You have 3 questions:

How do I create an Add-In?
How do I create a command button in A1?
How do I write a macro that will create a form with treeview and listview?

Do you need help with all of the above or just one?

"Dantz" wrote:

I want to create an Add-in that automatically runs in the workbook when
I install it and then creates a command button in "A1". When that
button was clicked it will create a form with treeview and
listview....I can't find any tips and articles about that..is it
possible? please help me...thanks in advance


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default Instantiate controls and forms in an Add-in

Dantz,

Is your addin a developer tool, or are you just interested in dynamic
forms.

Dm Unseen

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Instantiate controls and forms in an Add-in

Dm Unseen,

it is a developer tool and im also interested in dynamic forms because
it will help me a lot.

Dantz

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default Instantiate controls and forms in an Add-in

Dynamic forms can be created by first creating a form in design view
and the adding controls at run time. using the controls.add method.
Note that those controls will not be persistent in the design view.

To add forms and controls to the actual (persistent) design you need to
use the VBA IDE (VBIDE) extensebility library. This is more tricky and
less examples for this exist. see
http://groups.google.nl/group/micros...e2630 49debb2

good books programming the VBA IDE are Excel VBA programmers
reference(John Green et al) from wrox, and VBA power programming from
John Walkenbach.

DM Unseen

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
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 Larry Dodd Excel Programming 4 March 27th 05 11:39 AM
Forms Controls Chuck Taylor Excel Programming 2 December 1st 03 01:42 PM


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