![]() |
#17
|
|||
|
|||
![]()
Hi Ribbons,
I thought the code below would work. It does to a point. It gets me to the folder on the network and also allows me to change the name for the file but when I click save it doesn't actually save the file. Any Idea's, I really need to get this to work: Code:
Dim varResult As Variant 'displays the save file dialog varResult = Application.GetSaveAsFilename(fileFilter:= _ "Excel Files (*.xlsx), *.xlsx, Macro Enabled Workbook" & _ "(*.xlsm), *xlsm", Title:="Some Random Title", _ InitialFileName:="\\fngn.com\us\Projects\ProgramOps\Exceptions Masters & Data\Aon Hewitt") 'checks to make sure the user hasn't canceled the dialog If varResult <> False Then Cells(2, 1) = varResult End If Thanks in advance gbaker |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
rvessio | Word VBA | 4 | 07-25-2016 12:37 PM |
![]() |
rslck | Outlook | 1 | 06-19-2014 10:16 AM |
![]() |
rosscortb | Word VBA | 5 | 05-19-2014 08:40 AM |
How do I save a Word file with a macro for distribution? | leemoreau | Word VBA | 3 | 10-04-2013 08:06 AM |
![]() |
jabberwocky12 | Word VBA | 2 | 10-22-2010 12:23 PM |