ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Done with Code1 Find Code2 (https://www.excelbanter.com/excel-programming/431097-done-code1-find-code2.html)

TGalin

Done with Code1 Find Code2
 
I am running Code1 and getting a message that says €śCompile Error: Procedure
too large€ť yet I still have some code that I want to run as a part of this
macro. Is it possible for me to write the extra code in another macro called
Code2 and put a line at the end of Code1 (before it becomes too large) that
says €ś you are done with Code1 now find Code2 and run it?

Patrick Molloy

Done with Code1 Find Code2
 
you cando that or

Sub Main()
call Code1
call Code2
End Sub

first time I've ever heard of €śCompile Error: Procedure too large€ť error
!!


"TGalin" wrote in message
...
I am running Code1 and getting a message that says €śCompile Error:
Procedure
too large€ť yet I still have some code that I want to run as a part of this
macro. Is it possible for me to write the extra code in another macro
called
Code2 and put a line at the end of Code1 (before it becomes too large)
that
says €ś you are done with Code1 now find Code2 and run it?



TGalin

Done with Code1 Find Code2
 
Thank you Patrick, for your help. Never heard that message before? That's
funny. Neither had I, until today. Thank you again.

"Patrick Molloy" wrote:

you cando that or

Sub Main()
call Code1
call Code2
End Sub

first time I've ever heard of €śCompile Error: Procedure too large€ť error
!!


"TGalin" wrote in message
...
I am running Code1 and getting a message that says €śCompile Error:
Procedure
too large€ť yet I still have some code that I want to run as a part of this
macro. Is it possible for me to write the extra code in another macro
called
Code2 and put a line at the end of Code1 (before it becomes too large)
that
says €ś you are done with Code1 now find Code2 and run it?





All times are GMT +1. The time now is 12:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com