FatalLordes
Board Regular
- Joined
- Dec 22, 2017
- Messages
- 76
- Office Version
- 365
- Platform
- Windows
Hi all
So I'm sure this is possible and I've tried a few things but for the life of me I cannot get it to work. I need to insert a locally stored image file (C:\Users\My Name\Documents\My Database\Scans) which will change depending on the value of a cell (B3). The image will always end in _vax.jpg, and I've tried "C:\Users\My Name\Documents\My Database\Scans\"&B3&"_VAX.jpg" using a variety of methods, but they all fail. I'm using Excel 365 and locally so can use VBA script if needs be.
Is it really that hard? Or is it because I have spaces in my folder location? If anyone can point me in the right direction, that would be truly appreciated.
Thanks in advance
So I'm sure this is possible and I've tried a few things but for the life of me I cannot get it to work. I need to insert a locally stored image file (C:\Users\My Name\Documents\My Database\Scans) which will change depending on the value of a cell (B3). The image will always end in _vax.jpg, and I've tried "C:\Users\My Name\Documents\My Database\Scans\"&B3&"_VAX.jpg" using a variety of methods, but they all fail. I'm using Excel 365 and locally so can use VBA script if needs be.
Is it really that hard? Or is it because I have spaces in my folder location? If anyone can point me in the right direction, that would be truly appreciated.
Thanks in advance