LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default timeout on GetSaveAs?

Hello -
I have a user in a remote office that needs to export a file from Excel in
text format to a server in our main office. The macro has worked in the past,
but after setting this up for a new user, we can't get it to work. The macro
seemingly runs correctly, but the file never shows up in the remote
directory. The macro does work from my desk at the main office. The new user
is also able to manually copy a file to the remote directory, so it doesn't
appear to be a permissions issue. The one thing I have noticed, however, is
that the access to the server from the remote office is very slow. Could this
command be timing out? It takes a minute or two for the server directory to
manually appear on the remote user's computer.
Here is the code we are using:
'
' export text file to desktop

ChDir "\\sys002sv\Newsroom\DTIImport\MiscCharts"

fileSaveName = Application.GetSaveAsFilename( _
initialFileName:="\\sys002sv\Newsroom\DTIImport\Mi scCharts\MS_Bus_Lic",
filefilter:="Text files (*.txt),*.txt")
If fileSaveName < False Then
MsgBox "Saved File to " & fileSaveName
Else
MsgBox "Save Cancelled!"
End If
End Sub

thanks for any help - The only ugly workaround I can think of now is to have
the file save to the desktop, then do a manual copy.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TImeIn-TimeOut-TimeIn-TimeOut-HoursWorked ChefBoiRD Excel Worksheet Functions 3 September 20th 05 10:01 AM
Timeout tcbootneck Excel Programming 1 July 15th 05 11:48 AM
No Success with GetSaveAs D.Parker Excel Discussion (Misc queries) 5 April 20th 05 02:16 PM
GetSaveAs Method M. Barnes Excel Programming 5 September 21st 04 10:40 PM
Using GetSaveAs Ron McCormick[_3_] Excel Programming 1 December 17th 03 06:22 PM


All times are GMT +1. The time now is 08:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"