Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Maximum filename length. 218? 211?

We have long multi-folder pathnames holding Excel files. The Excel files are
created using vba procedures, and they do not contain links to other files.

When the total pathname (including the individual filename) gets to about
210 characters in length, we see some flaky/shaky file save operations.
Sometimes the vba works (with save pathname lengths of 205) and yet
immediately after, on a second vba run, the vba fails (with SHORTER pathname
lengths of 203).

Since the 203 case fails, why wouldn't the 205? Does Excel build 'work'
filenames for initially saving data, and then renames the 'work' filenames to
their final user-specified names once the save is completed? What do those
work filenames look like? Could those work filenames be just long enough to
trip up the 'save' request? But why the implied inconsistency between 203
failing and 205 succeeding?

A puzzle. It's hard to tell folks their pathnames are too long when they
can produce the irony of examples like 203 vs. 205. And then there's the
monkey wrench of knowledge base documents saying Office products have a known
limit of 218.

Anyone else see this kind of thing?

Mike
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
Maximum length of a number Pé Excel Worksheet Functions 1 October 31st 06 11:42 AM
maximum formula length skywalker99 Excel Worksheet Functions 2 March 1st 05 09:30 PM
Maximum length of a line? alainB[_9_] Excel Programming 3 April 23rd 04 03:22 PM
What is maximum length of URL? Kiloran[_3_] Excel Programming 1 April 14th 04 12:39 PM
Maximum text length? L Buchy Excel Programming 8 September 12th 03 02:09 PM


All times are GMT +1. The time now is 03:16 PM.

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"