outlook - Error: procedure too long vba: only on one pc out of 11 -


i have relatively long macro. runs on 1 pc, produces following error: procedure long, or this.

all pcs have office 2010, 3 have win 7 32bit, 8 have win 7 64bit. problematic pc runs 32bit version of win 7.

the other 2 32bit pcs run code, figured may not problem.

do know solution this?

i'm not sure how you're not getting error on 32-bit machines, presumably you're hitting this:

"compile error: procedure large" error message when try run vba macro in 32-bit version of office 2010 program

http://support.microsoft.com/kb/983044/en-us

first off, you'd want reduce size of procedures. break large procedures several small subroutines, , call them 1 after other; there tips in this answer.

second, try doing editing on 32-bit machine, , should keep under 64kb compiled limit.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -