Hi,
I have this long but easy to understand vba code. How can I increase the z value by one after every round of saving the file? Right now I have to manually type in the numbers where it says z=4. I want the z value to increase up to 300 starting from 4. Also I want the last line (ActiveWorkbook.SaveAs Filename:=pathname & SaveFile & “M34.xlsb”) to be changed corresponding to the z value. So if z=4 then the file should be saved as M34. If z=5 then the file should be saved as M35 and so on. So M should be always saved as M30+z. thanks a lot for your help guys. I really appreciate it.
Bookmarks