Give us more details on the error and when it happens.
AFAIK, there is limit of 64K (?) for the amount of code contained in a
single module, although I see no reason to ever get that large. Split it
into routines (sub/function) in modules/classes.
How large is your code ? Right-click on the moduleExport, save somewhere
suitable and check the size of the resultant file.
NickHK
wrote in message
ups.com...
I am having a problem with a macro that I am writing. Everytime I try
to run it it gives me an error. I think I can fix it using global
variables. But now I keep getting an error saying invalid attribute. I
have tried setting all variables = 0 then running it. Please help!!!!