Hi
I feel I am missing something very obvious here, but I want to give a file a specific name and then save it in VBA. That part is no problem.
The difficulty arises when that file name already exists - under those circumstances I want to add a v2 or v3 etc after the file name. I have tried error trapping but it does not seem to work.
Is there a way to achieve this please?
Many thanks
Kind regards
Sam
I feel I am missing something very obvious here, but I want to give a file a specific name and then save it in VBA. That part is no problem.
The difficulty arises when that file name already exists - under those circumstances I want to add a v2 or v3 etc after the file name. I have tried error trapping but it does not seem to work.
Is there a way to achieve this please?
Many thanks
Kind regards
Sam