I have been looking all over for a way to keep the hidden attribute on when saving edited files. FYI, the files are hidden and opened through an index, but lose the hidden attribute when edited and saved. Anyone know a VB snippet that will enforce the Hidden attribute? I found this one:
Sub HideAndSave()
1 Set Newbook = Workbooks.Add
2 Newbook.Activate
3 DoSomething
4 ActiveWindow.Visible = False
5 Newbook.SaveAs filename:=”defaultstuff.xls”
End Sub
…but do not want all of this functionality. If this is close can someone advise the edits for me? THANKS!
-
Save with Hidden Attribute ON (Excel 2000 VB)
- This topic has 2 replies, 2 voices, and was last updated 21 years, 1 month ago.
AuthorViewing 1 reply threadAuthorViewing 1 reply thread