I have an excel workbook with 4 sheets and 3 userforms, there's a bunch of vba too. I put this code in one of the worksheet deactivate thingy
Private Sub Worksheet_Deactivate()
ThisWorkbook.SaveAs ("C:\Projects\TEMPLATES\BOL-INV.xlt"
End Sub
Now I want to have this workbook on other computers on my network and so the "save to" address will be different, can I use an "ini" type file to point to an address & if so how?
Also, if you know the answer to that question, you'll know the answer to this one too, how do I make the vba code password protected so no one can even view it?
thanks a lot,
Carl
Private Sub Worksheet_Deactivate()
ThisWorkbook.SaveAs ("C:\Projects\TEMPLATES\BOL-INV.xlt"
End Sub
Now I want to have this workbook on other computers on my network and so the "save to" address will be different, can I use an "ini" type file to point to an address & if so how?
Also, if you know the answer to that question, you'll know the answer to this one too, how do I make the vba code password protected so no one can even view it?
thanks a lot,
Carl