Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 170
Default load userform from other VBProject (Excel 2000)


"Fero Bokor" wrote in message
...
Hi all,

is it possible to load (to show) a UserForm from other VBAProject ?
There is a Reference between ActiveVBProject and the other VBAProject .
Thanks a lot ...

Fero


Not directly but you can call a procedure in code module in that
other workbook which shows the form

Example

In Project A you have a form called MyForm

Create a code Module called MyCode and add the
procedure

Public Sub ShowMyform

MyForm.Show

End Sub

In Project B after you have set a reference you
can say

A.ShowMyform

Keith


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default load userform from other VBProject (Excel 2000)

It works ...
Thanks, Keith
Fero



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
all of a sudden my excel 2000 won't load zennith27 Excel Discussion (Misc queries) 1 January 22nd 10 07:50 PM
How to load a listbox in a userform? Martin Excel Discussion (Misc queries) 3 July 25th 07 03:16 PM
Load caption box on userform open ExcelMonkey Excel Worksheet Functions 1 April 3rd 07 11:02 PM
Load image from directory for custom toolbar of Excel 2000 Padam Excel Worksheet Functions 0 August 5th 06 06:33 PM
why templates do not load into excel 2000? Ron Excel Discussion (Misc queries) 2 December 23rd 04 06:31 PM


All times are GMT +1. The time now is 10:42 AM.

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"