Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default 'ActiveWorkbook.SaveAs Filename'

Is there a maximum number of charactors that VBA will recognize for
'ActiveWorkbook.SaveAs Filename'?

I have code which used to update several (excel) files then save them to a
network file server. We have recently been required to migrate to a new
network directory/folder structure which contains 160 plus charactor naming
convention. I have made the appropriate changes to point to the new location,
but now I get an error which shuts down Excel.

Could the length of the file server/folder name be too long for Excel/VBA to
recognize?

Thanks for any insights

- -TB- -

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 'ActiveWorkbook.SaveAs Filename'

Path length File

I think the limit is 255 or perhaps less. Apparently less based on the
following

http://support.microsoft.com/default...b;en-us;131464
"Filename Is Not Valid" Error Saving or Opening File
--
Regards,
Tom Ogilvy


"TOMB" wrote in message
...
Is there a maximum number of charactors that VBA will recognize for
'ActiveWorkbook.SaveAs Filename'?

I have code which used to update several (excel) files then save them to a
network file server. We have recently been required to migrate to a new
network directory/folder structure which contains 160 plus charactor

naming
convention. I have made the appropriate changes to point to the new

location,
but now I get an error which shuts down Excel.

Could the length of the file server/folder name be too long for Excel/VBA

to
recognize?

Thanks for any insights

- -TB- -



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default 'ActiveWorkbook.SaveAs Filename'

Tom,
Thanks for the help.

"Tom Ogilvy" wrote:

Path length File

I think the limit is 255 or perhaps less. Apparently less based on the
following

http://support.microsoft.com/default...b;en-us;131464
"Filename Is Not Valid" Error Saving or Opening File
--
Regards,
Tom Ogilvy


"TOMB" wrote in message
...
Is there a maximum number of charactors that VBA will recognize for
'ActiveWorkbook.SaveAs Filename'?

I have code which used to update several (excel) files then save them to a
network file server. We have recently been required to migrate to a new
network directory/folder structure which contains 160 plus charactor

naming
convention. I have made the appropriate changes to point to the new

location,
but now I get an error which shuts down Excel.

Could the length of the file server/folder name be too long for Excel/VBA

to
recognize?

Thanks for any insights

- -TB- -




Reply
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
Max charactors for 'ActiveWorkbook.SaveAs Filename'? TOMB Excel Worksheet Functions 1 February 16th 05 06:44 AM
ActiveWorkbook.SaveAs Problem SowBelly Excel Programming 4 August 4th 04 10:58 PM
activeworkbook.saveas J Silver Excel Programming 0 June 25th 04 09:01 PM
Error on ActiveWorkbook.SaveAs method cruisy Excel Programming 3 May 17th 04 08:40 AM
Error on ActiveWorkbook.SaveAs method Tim Zych[_8_] Excel Programming 0 May 17th 04 06:33 AM


All times are GMT +1. The time now is 02:23 AM.

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

About Us

"It's about Microsoft Excel"