What I see......
-You shouldn't use spaces and special characters in object names. It is a pain in the neck, only two feet lower! 
No one but the programmer should see the {code/variables/field names/control names}, so English with spaces doesn't matter. See
http://access.mvps.org/access/tencommandments.htm
.....especially rules 2 & 3 
-You missed brackets around "Movie Code" in one SQL string.
- The first two lines in the code should be:
Option Compare Database
Option Explicit
- Must have a reference set to Microsoft DAO 3.6 Object Library
- I changed and commented your code. I did not and could not compile your code.. just used my "good eye"
(haha I wear glasses'')
Code:
Private Sub AS1_Form_Re_send_Welcome_E_Mail_Only_Button_Click()
' Re-send only employee Outlook e-mail populated with Access data using Outlook .oft template by clicking button. Button code will draw on data in controls of RECORD SHOWING.
' Used GetObject method rather than CreateItemFromTemplate method for simplicity.
' Namespace/MAPI commands not used as some employees (i.e. Animation) are on mail client other than Outlook.
' On button click but before automation begins, record will be saved to table but REMAIN ONSCREEN (not go to new, blank record). This first line of code does that...
'DoCmd.RunCommand acCmdSaveRecord
' save record - New way!
If Me.Dirty Then
Me.Dirty = False
End If
' Now, the automation begins. Declaration statement(s)...
Dim objOutlookMsg As Object
' This next line opens Outlook by retrieving employee welcome e-mail template...
' ,Class needed in pathname or not?
objOutlookMsg = GetObject("J:\Special Projects\Database Work\AS1 Tracking DB & Related\AS1 Form Button Automation Email\Employee AS1 Welcome Outlook Template.oft")
' These next lines check the "Known As" data in the record, and if it's not null, populate the "To:" field in email; if it's null, "First Name" data in record should populate "To:" field instead.
objOutlookMsg.To = Replace("<<Known As>>", "<<Known As>>", "[AS1 Onboarding Tracking Table]![Known As]")
If IsNull("[AS1 Onboarding Tracking Table]![Known As]") Then
ReplaceNull = ("[AS1 Onboarding Tracking Table]![First Name]")
End If
' This next line populates the mail's "From" line from data in the "HR EOD Contact Name" form control.
objOutlookMsg.FROM = ("[AS1 Onboarding Tracking Table]![HR EOD Contact Name]")
' These next lines auto-fill the mail subject with boilerplate...
objOutlookMsg.Subject = "Congratulations and Welcome To XXXXXXXXX!"
' Body is almost all boilerplate (only HR EOD contact and movie code sections need populating).
objOutlookMsg.BodyFormat = olFormatRichText
objOutlookMsg.Body = Replace("<<HR EOD Contact Name>>", "<<HR EOD Contact Name>>", "[AS1 Onboarding Tracking Table]![HR EOD Contact Name]")
objOutlookMsg.Body = Replace("<<HR EOD Contact Internal Phone #>>", "<<HR EOD Contact Internal Phone #>>", "[AS1 Onboarding Tracking Table]![HR EOD Contact Internal Phone #]")
objOutlookMsg.Body = Replace("<<HR EOD Contact Internal E-Mail>>", "<<HR EOD Contact Internal E-Mail>>", "[AS1 Onboarding Tracking Table]![HR EOD Contact Internal E-Mail]")
Exit Sub
' These next lines copy the top movie code (sorted ascending) from "Unused Movie Code Table" and populate "Movie Code" control on form.
Dim db As DAO.Database
Dim rs As DAO.Recordset
Dim sSQL As String
Set db = CurrentDb
sSQL = "SELECT TOP 1 [Unused Movie Code Table].[Movie Code]"
sSQL = sSQL & " FROM [Unused Movie Code Table]"
sSQL = sSQL & " WHERE [Movie Code] = '" & Me.[Movie Code] & "'"
sSQL = sSQL & " ORDER BY Movie Code ASC"
Set rs = db.OpenRecordset(sSQL)
'--- you should check to see if the record set has records ---
rs.Edit
rs![Movie Code] = Me.[Movie Code]
' Is this line needed in this case? YES , if you use DAO
rs.Update
rs.Close
Set rs = Nothing
Set db = Nothing
' This next line then moves (not copies) that movie code from "Unused Movie Code Table" to "Used Movie Code Table".
'---No, this only copies, does not delete.---
' and I'm not sure that you will be inserting the same record as selected on the form (emailed).
sSQL = "INSERT INTO [Used Movie Code Table].Movie Code"
sSQL = sSQL & " SELECT TOP 1 [Unused Movie Code Table].Movie Code "
sSQL = sSQL & " FROM [Unused Movie Code Table]"
sSQL = sSQL & " ORDER BY Movie Code ASC"
'debug.print sSQL
CurrentDb.Execute sSQL, dbFailOnError
'--- Exit Sub DO YOU REALLY WANT TO EXIT THE SUB HERE??
' This next line populates <<movie code>> text on template with "Movie Code" control's data on form.
objOutlookMsg.Body = Replace("<<movie code>>", "<<movie code>>", "[AS1 Onboarding Tracking Table]![movie code]")
'--- Exit Sub DO YOU REALLY WANT TO EXIT THE SUB HERE??
' This next line re-sends the welcome e-mail only. User can verify it was sent in mail account's "Sent Items" box.
objOutlookMsg.Send
Set objOutlookMsg = Nothing
End Sub