I want to be able to save a file using only the macro save path which I have already created.
So how do I turn off the save, save-as, or Control C function?
I want to be able to save a file using only the macro save path which I have already created.
So how do I turn off the save, save-as, or Control C function?
try this:
![]()
Option Explicit Sub SaveMe() Dim thePath As String thePath = "C:\YourFilePath\" Dim theFile As String theFile = "YourFileName.xls" Application.DisplayAlerts = False ActiveWorkbook.SaveAs Filename:=thePath & theFile Application.DisplayAlerts = True End Sub
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Alan,
Thanks for the input. I already have a macro that saves to a file. I want to be able to disable the normal save, save-as, and Control S functions. Do you know how to do that? In other words, when the user opens the file, he/she has no choice but to run the save macro because he/she can't utilize the normal save functions.
Thanks again.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks