Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Below I have a sub routine that needs to be modified to enable multiple users with different paths to the same file location on a network drive to save the file using this macro. The only difference in location is the letter of the drive. On my computer it is identified as "N:", but on another user's computer it could be identified as any letter of the alphabet. Any simple solutions to this issue? Sub saveNew() yyyy = Format(Range("M1").Value, "yyyy") mmddyyyy = Format(Range("M1").Value, "mm-dd-yyyy") mmddyy = Range("M2").Value ActiveWorkbook.SaveAs Filename:="N:\FOLDER\FOLDER 2\folder 3\" & yyyy & "\" & mmddyyyy & " Distribution" & "\Rates " & mmddyy & ".xls" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I block users to save the excel file if conditions not met | Excel Discussion (Misc queries) | |||
Macro paths wrong after save | Excel Discussion (Misc queries) | |||
NOT allow users to save XLS file when viewing over web | Excel Programming | |||
Help - Automating a file.. Adding Users , Deleting users, Changing | Excel Worksheet Functions | |||
Save File to Another Directory, but not change Users File Save location | Excel Programming |