jalrs
Active Member
- Joined
- Apr 6, 2022
- Messages
- 300
- Office Version
- 365
- Platform
- Windows
Hello guys,
I want to address the location to the attachment through a cell value.
The attachment is named by cell(2,5).Value -> Row 2, Column E -> Formula here is:
Formula on location column is -> Row 2, Column J ->
Therefore I addressed attachment as
on VBA
Happens that it doesn't upload the file when displaying the e-mail window.
Any help is appreciated,
thanks
I want to address the location to the attachment through a cell value.
The attachment is named by cell(2,5).Value -> Row 2, Column E -> Formula here is:
Rich (BB code):
=VLOOKUP(A2;Instructions!E:I;5;0)&"_"&F2
Rich (BB code):
="C:\Users\joafrodrigue\Desktop\share\finaldocname\"&E2&".xlsx"
Therefore I addressed attachment as
VBA Code:
attachment = cell(2,7).Value
Happens that it doesn't upload the file when displaying the e-mail window.
Any help is appreciated,
thanks