Changing a tables name with VBA

  • Thread starter Thread starter Thomas Olsen
  • Start date Start date
T

Thomas Olsen

ALL,

I would like to change the name of a table dynamically
giving it the same name with the current date attached to
it..



Mytable to Mytable-10/23/20003


IN advance thanks for your help..

Thomas Olsen
 
Using your current example:

DoCmd.Rename "MyTable-" & Format(Date, "Short Date"), acTable, "MyTable"
 
Back
Top