Hi,
I'm fairly new to this, but I've made a macro which produces email bonus statements for people at work.
It copies data into a template, emails it to the relevant person, saves a copy and then loops to the next person etc.
However when I 'flip back' from the saved/closed workbook to the main workbook I reference it's name. I was hoping to reference a dynamic filename so if I called the file "Bonus -Week 1", and next week "Bonus -Week 2" etc, I wouldn't have to change this in the VBA. Can anyone point me in the correct direction?
Cheers
Here's the bottom part of my code - hopefully it's worked and highlighted the line in question! Cheers
Please Login or Register to view this content.
Bookmarks