Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I've created a log file in text format when excel file is opened. The text file contains directory of excel that I've opened and user name. I want the text file to be hidden in order to prevent user from seeing it Does anybody has any idea how to do it in Macro?? -- shirley_kee ------------------------------------------------------------------------ shirley_kee's Profile: http://www.excelforum.com/member.php...o&userid=30384 View this thread: http://www.excelforum.com/showthread...hreadid=548407 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Unfortunately i dont know how to hide them but i figure you want to hide it on a user drive so that when they open a file it can source back to the "hidden" file and update the file. i know that you can set up a macro to create the file and save it with a password and you can set the password to equal what ever you like e.g Sub Macro1() Password = "MYPASSWORD" ChDir "C:\...." ActiveWorkbook.SaveAs Filename:= _ "C:\...\Book1.xls", FileFormat:= _ xlNormal, Password:="" + password + "", WriteResPassword:="" + password + "", _ ReadOnlyRecommended:=False, CreateBackup:=False End Sub Give that a shot. If you ever find out how to hide a file with a macro post it please. Thanks -- Zygan ------------------------------------------------------------------------ Zygan's Profile: http://www.excelforum.com/member.php...o&userid=34423 View this thread: http://www.excelforum.com/showthread...hreadid=548407 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel '00, 1st file has macros, how to stop macro in 2nd file? | Excel Discussion (Misc queries) | |||
embedding a macro when generating a CSV file | Charts and Charting in Excel | |||
opening text file in excel problem | Excel Discussion (Misc queries) | |||
Weird File Open/Save As Behavior | Excel Discussion (Misc queries) | |||
Weekly Transaction Processing | Excel Worksheet Functions |