MichaelRSnow
Active Member
- Joined
- Aug 3, 2010
- Messages
- 409
Hello All, help please!
I would like to create a hyperlink via a macro, basically I have two workbooks, when I save and exit one workbook called ‘Workbook A’ I would like that save addressed to then be linked to cell C3 in ‘Workbook B’<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o> </o>
This is my save and exit code<o></o>
<o> </o>
Private Sub CommandButton1_Click()<o></o>
Dim sFile As String<o></o>
ThisFile = Range("B3").Value<o></o>
ActiveWorkbook.SaveAs Filename:="L:XXXX\" & ThisFile<o></o>
Application.Quit<o></o>
End Sub<o></o>
<o> </o>
Can you help?<o></o>
I would like to create a hyperlink via a macro, basically I have two workbooks, when I save and exit one workbook called ‘Workbook A’ I would like that save addressed to then be linked to cell C3 in ‘Workbook B’<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o> </o>
This is my save and exit code<o></o>
<o> </o>
Private Sub CommandButton1_Click()<o></o>
Dim sFile As String<o></o>
ThisFile = Range("B3").Value<o></o>
ActiveWorkbook.SaveAs Filename:="L:XXXX\" & ThisFile<o></o>
Application.Quit<o></o>
End Sub<o></o>
<o> </o>
Can you help?<o></o>