Paul,
First, sorry for late reply.
We could use your solution BUT the lines we would keep, using that solution, are formulas. So deleting the rest would annihilate the formulas. I was therefore thinking of another solution : copy the file to a public folder but password-protect the file. I tried the two following solutions, none works.
Problem : the sheet "Statistieken 1" contains formula links to other sheets in the workbook. By extracting it with the above code, I create a new file but the formula's remain, referring to the file in the hidden directory. So back to the initial problem.
So I tried this :
Problem : this results in an error message.
So ideally, I would like to use the first code, but then save the whole thing as values.
I
Bookmarks