Hi Kenneth, Thanks for the reply. Most of what you said went over my head. Non of my code has been written by me I have sourced it all from the internet. I'm very much a keen beginner, I will try to explain my situation better for you.
In my book there is a settings userform where users change the USERNAME to theirs.
For example
jgribbin
khobs
jbloggs
The user name now reside in cell R3 which is named username
Now in the ranges "storefolder" & "checkfiles" is this code
=CONCATENATE("C:\users\",R3,"\Desktop\Walmart ASDA\ScannedDocs\")
So now regardless of user aslong as windows 7 R3 is there username so all directories work without editing code
Now all my current attachments would have to be manually changed to this
.Attachments.Add ("C:\Users\jgribbin\Desktop\Walmart ASDA\ScannedDocs\£1000 Rept.pdf")
.Attachments.Add ("C:\Users\khobs\Desktop\Walmart ASDA\ScannedDocs\£1000 Rept.pdf")
.Attachments.Add ("C:\Users\jbloggs\Desktop\Walmart ASDA\ScannedDocs\£1000 Rept.pdf")
.Attachments.Add ("C:\Users\username\Desktop\Walmart ASDA\ScannedDocs\£1000 Rept.pdf")
.Attachments.Add ("C:\Users\R3\Desktop\Walmart ASDA\ScannedDocs\£1000 Rept.pdf")
And i was hoping to mimic the R3 method so that all users can use the email function. Sorry for the terminology
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\£1000 Rept.pdf")
All files will be in the same folder directories, and named exactly the same on all laptops, all that changes is there username within the file path
Im sorry if i am insulting your intelligence and your previous reply is a solution to this problem, if so can you help me get it into my email code as im lost
Sub Mail_John_Gribbin()
Dim OutApp As Object
Dim OutMail As Object
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(0)
On Error Resume Next
With OutMail
.To = ""
.CC = ""
.BCC = ""
.Subject = Range("storename") & "" & Range("storeno") & "" & "Scanned Inventory Documents"
.Body = "Scanned Documents Attached"
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\£1000 Rept.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\Crew List.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\Record Count.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\Recounts.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\SIC.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\LP Review.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\NOFs.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\Physicals.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\Walk Off.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\Schedule 21.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\Cost Value.pdf")
.Attachments.Add = CONCATENATE("C:\Users\", R3, "\Desktop\Walmart ASDA\ScannedDocs\Physical.pdf")
.send
End With
On Error GoTo 0
Set OutMail = Nothing
Set OutApp = Nothing
End Sub
Here is the work book for you to take a look if it will help you advise, thanks for your time so far
WIS54Docsv8.xlsm