Avatar of DMKetcher
DMKetcher
Flag for United States of America asked on

Excel crashes when macro executed

Hi Experts!

I am having trouble with my laptop crashing - getting the message "Microsoft Excel has stopped working....". It does it most often when I am working in the attached Excel VBA. Any ideas?
Finding-19-Macro-for-EE.docx
Microsoft ApplicationsMicrosoft Excel

Avatar of undefined
Last Comment
redmondb

8/22/2022 - Mon
redmondb

Hi, DMKetcher.

Can you post a copy of the file, please? I assume that you will need to redact the data, but please check that the file still crashes.

Thanks,
Brian.
DMKetcher

ASKER
This works by having both input and output spreadsheets open and switching to the output spreadsheet when it is asked for.
Ineligible-Sites-Transpose-Input.xlsm
Ineligible-Sites-Transpose-Outpu.xlsx
ASKER CERTIFIED SOLUTION
redmondb

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
DMKetcher

ASKER
Perfect - Thank you!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
DMKetcher

ASKER
Thank you! I changed I.D. to ID. Am I not allowed to use SSN or is it just too risky for internet business?
redmondb

Thanks, DMKetcher.

OK, explanation time - why did I change "ID" to "I.D."? The file was corrupt so the first step in recreating it was to save it as CSV (so that the corruption would be removed). However, there's a funny/bug/whatever in Excel that treats any file starting with "ID" as a SYLK file. So, to avoid any issues, I renamed the column.

Am I not allowed to use SSN or is it just too risky for internet business?
Sorry, I don't understand what you mean. If this is still about column A then it really doesn't matter whether you call it "ID", "I.D." or "SSN" - as long as you don't save it as a CSV.

Regards,
Brian.