Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Userforms in a separate worksheet

I am trying to centralize all my macro functions. We have 35 or so users
all using the same macros, so I've created one file they all draw on. Is it
possible to do this with Userforms as well? I'm getting an "error 424 -
Object required". The code reads: "Load mastermacro.xls!UserForm1"
Mastermacro is the filename I've used for my main macro file. The macros run
just dandy, but the userforms won't load. Any suggestions? Any help would
be appreciated.

--
Thanks - Paula
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Userforms in a separate worksheet

I don't believe you can do it directly. You can run a macro in the
other workbook that loads the form with the following:

Application.Run "OtherWookbookName!MacroThatLoadsForm"

Hth,
Merjet


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Userforms in a separate worksheet

I think Merjet is correct. I struck this problem recently. I had to
do an export and a re-import of the form, but that doesn't sound like
the fix you need.

Good luck.

Greg


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
how to merge separate worksheet Jane Excel Worksheet Functions 1 May 15th 07 04:31 AM
Using a Worksheet Form to add data to a separate worksheet databas Rawblyn Excel Worksheet Functions 3 March 7th 06 08:17 PM
How do I separate a worksheet into many files? Alicia Excel Discussion (Misc queries) 1 February 15th 06 07:08 PM
Separate Worksheet Linking JaeP Excel Discussion (Misc queries) 0 May 17th 05 04:52 PM
userforms and worksheet help paradise Excel Programming 1 November 1st 03 12:35 PM


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