code lost after saving

G

Glen

I wrote VBA code to process data in an Excel 97
spreadsheet. I saved it a few times during the coding.
However, when I reopened it later, I can't find the code I
saved in "View Code." All data that was generated is
still there.

I have written many excel vba codes. This is the first
time it has happened to me. Are there have any ideas to
help resolve this problem?
 
R

Rick

Have you double clicked all the worksheets and the
workbook and the modules in the VBE (when you push Alt-
F11)? Is the code not anywhere in these areas?
 
P

pfsardella

I've experienced this problem when I thought that I was saving the
code in one workbook, when I was actually saving in another workbook
that was open at the same time.

HTH
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top