LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Calling macros

I have posted this question before and unfortunately, the answer seemed to
work once now I have this problem again. Can anyone help here please. This
macro Sub GenDetailsMen(), is what I want to use to call the 14 macros below,
which all populate other sheets with the information held on sheet 3. They
all worked individually, but I get a 400 or 1004 message every time I ty to
use it. Where am I going wrong please.

Thanks



'THIS CALLS MACROS OFF OTHER SHEETS TO CLEAR CONTENTS AND REPOPULATE THE
SHEETS FOR A NEW START'


Sub GenDetailsMen()
ActiveSheet.Unprotect ("sybs")



If MsgBox("You are about to Populate all the EVENT sheets with the names of
the Contestants you have entered on this Sheet. Please carefully check that
all names have been entered as you can not add/delete or change these Names
after confirming. Do you want to proceed?", vbYesNo, "Delete Data") = vbYes
Then
If MsgBox("PLEASE ENSURE YOU HAVE CHECKED THESE ENTRIES CAREFULLY
BEFORE CONTINUING. Do you want to proceed?", vbYesNo, "Generate Details") =
vbYes Then


Call Footpoprowsmen
Call Throwpoprowsmen
Call Speedpoprowsmen
Call ARlist2men
Call copyARcardsdown
Call Worklistmen
Call Worklist2men
Call copyWKcardsdown
Call ITTCCpoprowsmen
Call SPEEDprint
Call Footprint
Call Throwprint
Call Airprint
Call Workprint


ActiveSheet.Protect ("sybs")
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
ActiveSheet.EnableSelection = xlUnlockedCells
End If
End If
End Sub

 
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
Trouble calling Add-In Macros [email protected] Excel Programming 2 October 15th 05 11:14 AM
Problems calling macros in addin from within macros Andibevan[_4_] Excel Programming 2 August 16th 05 09:29 AM
Calling Macros From VB6 Diehard Excel Programming 3 August 2nd 04 04:42 PM
Calling macros from a VB app Minilek Excel Programming 2 July 13th 04 09:43 AM
Calling Macros from a list Anonymous[_3_] Excel Programming 1 November 21st 03 07:17 PM


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