Hi Everyone, Any help with any part of this issue would be a great help. I have posted this a couple of times before. You are probably getting sick of seeing this but I hoped someone may be able to help, I'm not giving up on this issue.
http://www.excelforum.com/excel-prog...ml#post3530142
So to the brain achingly annoying issue. What I'm trying to achieve is;
1. When a new document is opened from my template a unique serial number (in format "00000") is generated (currently using txt file)
2. Once the number is generated a search is preformed to see if a file exists saved with the same serial number as a name.
3. If a file exists then the txt files stored value is decreased by 1 and that is displayed in "K5".
4. If the search returns a 0 then the original serial number is displayed.
Currently i don't belive the search function is working. So any help with that would be greatly appreciated and oddly once the search fails to run properly the original serial number dissapears.
Thanks Everyone.
Bookmarks