ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   save and closing when hyperlink accessed (https://www.excelbanter.com/excel-programming/349749-save-closing-when-hyperlink-accessed.html)

Ouka[_29_]

save and closing when hyperlink accessed
 

Hi all,

I have a master spreadsheet that creates formated .xls sheets from a
hidden and read-only .xls master template by opening the template, save
as, and closeing the file.

On the mastersheet, a hyperlink is created to the newly created page.

I want to add a save and close action when the hyperlink is clicked on,
such that the master sheet is saved and closed, and the linked xls file
is opened.

Haven't had much luck in doing this yet however. Tried a variety of
methods, none of which have worked for me.

Anyone know of a way to make this work?


--
Ouka
------------------------------------------------------------------------
Ouka's Profile: http://www.excelforum.com/member.php...o&userid=23988
View this thread: http://www.excelforum.com/showthread...hreadid=498848


Ouka[_30_]

save and closing when hyperlink accessed
 

anyone? This is driving me bonkers!

Or, is there way to pass the value of a variable between workbooks? I
think I could come up with a round-about means of acheiving what I want
to happen.

(basically thinking of doing a on workbook activate, change the active
workbook back to the master, save and close it. But that would require
a variable to be passed first elsewise the user will experience an error
if they open the hyperlinked file directly from windows)


--
Ouka
------------------------------------------------------------------------
Ouka's Profile: http://www.excelforum.com/member.php...o&userid=23988
View this thread: http://www.excelforum.com/showthread...hreadid=498848



All times are GMT +1. The time now is 06:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com