OK I figured it out
Option Compare Database
Option Explicit
'------------------------------------------------------------
' mcr_Move_Prior_Year_ACC_Data_ALL
'
'------------------------------------------------------------
Function mcr_Move_Prior_Year_ACC_Data_ALL()
On Error GoTo mcr_Move_Prior_Year_ACC_Data_ALL_Err
DoCmd.SetWarnings False
' Copies Prior years data to another table for Balanced
DoCmd.CopyObject "", "ACC Premium Prior Year Balanced ", acTable, "ACC Premium Balanced 1-1 to 10-31"
' Copies Prior years data to another table for Bond
DoCmd.CopyObject "", "ACC Premium Prior Year Bond", acTable, "ACC Premium Bond 1-1 to 10-31"
' Copies Prior years data to another table for High Yield
DoCmd.CopyObject "", "ACC Premium Prior Year High Yield ", acTable, "ACC Premium High Yield 1-1 to 10-31"
DoCmd.SetWarnings True
mcr_Move_Prior_Year_ACC_Data_ALL_Exit:
Exit Function
mcr_Move_Prior_Year_ACC_Data_ALL_Err:
MsgBox Error$
Resume mcr_Move_Prior_Year_ACC_Data_ALL_Exit
End Function