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: 208
Default Call module

I have 2 modules in a particular Project. Each module is a Sub. I'm trying
to call one module within another module and I'm getting the following error:

Compile Error:
Expected variable or procedure, not module

The two modules a TallySheetRepDump and BanSumSort

This is how I'm trying to call the module:

Sub TallySheetRepDump()
Call BanSumSort
...

I basically want the code inside BanSumSort to run immediately upon the
execution of the TallySheetRepDump routine then continue with the code in
TallySheetRepDump. What am I doing wrong?
 
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
Remote module call Patrick Simonds Excel Programming 2 October 7th 06 09:10 PM
Module call RJH Excel Programming 4 September 7th 06 06:04 AM
How to call a sub from UserForm Module Myles[_58_] Excel Programming 1 March 31st 06 04:40 AM
Call a Module mb Excel Programming 2 October 26th 05 01:12 AM
Call other sub in the same module yangyh[_4_] Excel Programming 1 September 11th 05 09:24 AM


All times are GMT +1. The time now is 09:22 AM.

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"