My question might be out of scope for this part of the forum and if it is I don't mind buying points to get my question answered by a professional, just wanted to check here first.
I'm completely new to VBA and have absolutely no experience with scripts and programming. I was given a project by my boss to create a program that tracks physician procedure completion rates for a clinical trial I'm involved in. Through extensive googling and youtube lessons I was able to create a macro that achieves this task. Everything is in a single module with the Main Sub calling up each individual Sub one at a time.
Basically all it's doing is copying specific columns in the database and pasting them into sheets where a formula is tallying some total, nothing super complex. The macro runs perfectly fine (takes around 20 minutes to complete), my issue is that when I go to save the file after, Excel crashes. I'm assuming there is something in my macro that is not playing nice but I have no idea what it is and my macro is at 2410 lines.
Is there any specific script that I should be searching for that could be causing this issue? I'd post the macro except its over 2400 lines and I'm guessing that's a big no no (also I'm a noob and have no idea how to post that cool text box everyone does with their script)
FYI I'm running Excel 2010 64-bit
Bookmarks