Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
in Excel VBA macro, I found:
here is a file named "abc[def]gh.xls" in folder_A, 1. Code1: for each objFile in folder_A.files when objFile refers to this file, its Name property objFile.Name = "abc[def]gh.xls", which is correct. 2. Code2:(if we open this file, its name changes.) set objFile = application.open(objFile) when objFile refers to this file, after running this code, objFile.Name = "abc(def)gh.xls", here, "[" and "]" have changed to "(" and ")". I've check it in both excel 2003 and 2007, the same result. Is this a bug? or on some intended purpose? thanks! -- cj |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
"CELL("FILENAME") NOT UPDATE AFTER "SAVE AS" ACTION | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |