jackson1990
Board Regular
- Joined
- Feb 21, 2017
- Messages
- 56
Good morning,
Was looking for some help on this small project. I have macro with code that open up an appointment in outlook, but I am looking to auto generate a link to the current worksheet they are in, in the body of the appointment. That way when the appointment comes up they can simply click the link instead of having to go look for the file. Is there a way to use VBA to get the reference of the file path and current active sheet they are on and create a link to that to put in the body of that appointment?
I was thinking it might be something related to this code I have
Which would retrieve the file path of the workbook, but then I would need the active sheet too and then create a link based off of that in the body of the appointment.
Any help or ideas?
Much appreciated everyone!
Was looking for some help on this small project. I have macro with code that open up an appointment in outlook, but I am looking to auto generate a link to the current worksheet they are in, in the body of the appointment. That way when the appointment comes up they can simply click the link instead of having to go look for the file. Is there a way to use VBA to get the reference of the file path and current active sheet they are on and create a link to that to put in the body of that appointment?
I was thinking it might be something related to this code I have
Code:
Link = Application.ThisWorkbook.FullName
Which would retrieve the file path of the workbook, but then I would need the active sheet too and then create a link based off of that in the body of the appointment.
Any help or ideas?
Much appreciated everyone!