Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Creating UserControl with VB6 for excel

Hi,

Could somebody point me to a tutorial or a code for creating
usercontrols .ocx (VB6) to be used in VBA forms?

Thanks
Mika
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Creating UserControl with VB6 for excel

It happens that Mika formulated :
Hi,

Could somebody point me to a tutorial or a code for creating
usercontrols .ocx (VB6) to be used in VBA forms?

Thanks
Mika


Hi Mika,
Any OCX you create with VB6 will be 32bit and so can only be used in
32bit Excel. Also, this would be no different than creating an OCX for
VB6 use. You might get a better response asking in a VB6 (Classic VB)
forum.

Note also that any existing VB6 OCXs can usually be used on MSO
Userforms without any problems. These would have to be distributed,
however, and properly registered on the target machine.

Another thing to keep in mind is VBA doesn't support control arrays!<g

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default Creating UserControl with VB6 for excel

Here's one tutorial

http://cuinl.tripod.com/tutorials.htm
http://cuinl.tripod.com/tutorials/ocx-11.htm

Regards,
Peter T

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
UserControl Brent Excel Programming 0 November 17th 08 10:58 PM
Creating VBA Functions When Creating Spreadsheet Via VBA? PeteCresswell[_2_] Excel Programming 6 June 18th 07 12:38 PM
after creating macro button, closed excel then restarted excel hjd43 Excel Discussion (Misc queries) 1 March 3rd 05 03:04 AM
VSTO .net - Adding a Usercontrol unto Worksheet pxiong Excel Programming 0 February 13th 04 08:07 PM


All times are GMT +1. The time now is 11:09 PM.

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"