Hi,
DoCmd.CopyObject, StDocName2, acTable, StDocName1
I used this code but it did not work for me because I did not have the comma (,) between the CopyObject and StDocName2. Why don't we need the comma for the rename command?
DoCmd.Rename StDocName2, acTable, StDocName1
Again, thanks for...