Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Call macro in worksheet from userform?

How do I call and run a macro contained in worksheet code from a
userform button code? I tried variations of
Run wkb("MASTER!SetNewHeader")
but nothing worked.

Ed

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Call macro in worksheet from userform?

Is the userform part of the spreadsheet or is it part of an addin or a
seperate spreadsheet? It's hard to tell from your post.
--
HTH...

Jim Thomlinson


"Ed from AZ" wrote:

How do I call and run a macro contained in worksheet code from a
userform button code? I tried variations of
Run wkb("MASTER!SetNewHeader")
but nothing worked.

Ed


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Call macro in worksheet from userform?

Sorry, Jim. The form is in the same workbook as the worksheet and
macro.

Ed


On Sep 12, 11:06 am, Jim Thomlinson <James_Thomlin...@owfg-Re-Move-
This-.com wrote:
Is the userform part of the spreadsheet or is it part of an addin or a
seperate spreadsheet? It's hard to tell from your post.
--
HTH...

Jim Thomlinson



"Ed from AZ" wrote:
How do I call and run a macro contained in worksheet code from a
userform button code? I tried variations of
Run wkb("MASTER!SetNewHeader")
but nothing worked.


Ed- Hide quoted text -


- Show quoted text -



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
Call Worksheet_Change macro in another worksheet Freddy Excel Programming 6 October 29th 06 07:16 PM
Macro to call-up UserForm Mr. G. Excel Worksheet Functions 0 August 24th 06 09:24 AM
Define worksheet as variable, then call in macro bugman Excel Programming 2 November 22nd 05 05:13 PM
call a macro in another worksheet? George Conard Excel Programming 2 May 16th 05 08:38 PM
how to call a macro from a worksheet event? lopsided[_3_] Excel Programming 5 December 16th 03 10:28 AM


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