Greetings to All,
I have been a PC user for many years but recently purchased a MacBook Pro. Windows 365 was installed to make use of Excel using VBA.
Developer and macros are enabled.
After much effort I am unable to run the seemingly simple ensuing macro. The document that I am trying to save has an extension of xlsx.
Any help will be greatly appreciated.
Trey
Sub MultipleLocations()
Dim OriginalName As String
OriginalName = ActiveDocument.FullName
ActiveDocument.SaveAs “ExtDr/Officetips/“ + ActiveDocument.Name
ActiveDocument.SaveAs “Users/Me/Documents/Officetest/“ + ActiveDocument.FullName
ActiveDocument.SaveAsOriginalName
End Sub
I have been a PC user for many years but recently purchased a MacBook Pro. Windows 365 was installed to make use of Excel using VBA.
Developer and macros are enabled.
After much effort I am unable to run the seemingly simple ensuing macro. The document that I am trying to save has an extension of xlsx.
Any help will be greatly appreciated.
Trey
Sub MultipleLocations()
Dim OriginalName As String
OriginalName = ActiveDocument.FullName
ActiveDocument.SaveAs “ExtDr/Officetips/“ + ActiveDocument.Name
ActiveDocument.SaveAs “Users/Me/Documents/Officetest/“ + ActiveDocument.FullName
ActiveDocument.SaveAsOriginalName
End Sub