Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is string allowable as a file name
Hello
I am writing a version control macro and need it to identify whether the file name entered by the user is valid as a file name. Can anybody either: a) provide some code that identifies whether a given text string is allowable as a file name? b) provide a list of all characters that are not allowable in file names so that I can write such a piece of code myself. Thanks John |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is string allowable as a file name
Google is your friend:
http://msdn2.microsoft.com/en-us/library/aa365247.aspx In addition to the rules here, you'll find that for use in Excel, it is also helpful to disallow [square brackets] and 'single quotes' from file names. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierTech.com _______ "JT" wrote in message ... Hello I am writing a version control macro and need it to identify whether the file name entered by the user is valid as a file name. Can anybody either: a) provide some code that identifies whether a given text string is allowable as a file name? b) provide a list of all characters that are not allowable in file names so that I can write such a piece of code myself. Thanks John |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is string allowable as a file name
And tildes "~" as I've recently discovered.
"Jon Peltier" wrote: Google is your friend: http://msdn2.microsoft.com/en-us/library/aa365247.aspx In addition to the rules here, you'll find that for use in Excel, it is also helpful to disallow [square brackets] and 'single quotes' from file names. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierTech.com _______ "JT" wrote in message ... Hello I am writing a version control macro and need it to identify whether the file name entered by the user is valid as a file name. Can anybody either: a) provide some code that identifies whether a given text string is allowable as a file name? b) provide a list of all characters that are not allowable in file names so that I can write such a piece of code myself. Thanks John |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding more then the allowable 30! | Excel Worksheet Functions | |||
VLOOKUP - Allowable Number Sequence | Excel Worksheet Functions | |||
Max Name Ranges Allowable in Excel 2003 | Excel Programming | |||
allowable no of character | Excel Programming | |||
what is the correct syntax for an allowable circular reference? | Excel Discussion (Misc queries) |