Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello folks,
Has anyone encountered problems when using spaces in worksheet names, file names, folder names in excel programming? I find spaces look neater and improves readability and I would prefer spaces but thought I would get some advice prior to beginning to create my folder and filename structures. Please note there will be numerous links to external files. Thanks, Jason |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No.
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Jason" wrote in message ... Hello folks, Has anyone encountered problems when using spaces in worksheet names, file names, folder names in excel programming? I find spaces look neater and improves readability and I would prefer spaces but thought I would get some advice prior to beginning to create my folder and filename structures. Please note there will be numerous links to external files. Thanks, Jason |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jason
Just remember that XL encloses the SheetName/[WorkbookName]SheetName element in single quotes when there are white spaces. =[Book3.xls]Sheet1!$A$1 ='Sheet 2'!$A$1 ='[Book3.xls]Sheet 2'!$A$1 ='C:\Documents and Settings\Paul Wilson\My Documents\[Book3.xls]Sheet 2'!$A$1 If you create such formulas by code it is always wise to enclose this part with single quotes SomeCell.formulaR1C1= "='" & SheetName & "'!R100C100" SomeCell.formulaR1C1= "='[" & WorkBookName & "]" & SheetName & "'!R100C100" SomeCell.formulaR1C1= "='Path[" & WorkBookName & "]" & SheetName & "'!R100C100" XL will drop them if they are not needed. Regards Paul "Jason" wrote in message ... Hello folks, Has anyone encountered problems when using spaces in worksheet names, file names, folder names in excel programming? I find spaces look neater and improves readability and I would prefer spaces but thought I would get some advice prior to beginning to create my folder and filename structures. Please note there will be numerous links to external files. Thanks, Jason |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Searching names with spaces can be a pain, can find each
space separated element of the name (but depends on the find method). Regards, Dan -----Original Message----- Hello folks, Has anyone encountered problems when using spaces in worksheet names, file names, folder names in excel programming? I find spaces look neater and improves readability and I would prefer spaces but thought I would get some advice prior to beginning to create my folder and filename structures. Please note there will be numerous links to external files. Thanks, Jason . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I remove leading spaces and leave the remianing spaces w | Excel Worksheet Functions | |||
Name Ranges: Function to convert special characters underscores | Excel Worksheet Functions | |||
spaces not recognized as spaces | Excel Worksheet Functions | |||
How can I replace spaces in text cells (excel) with underscores? | New Users to Excel | |||
Help copying a range with spaces to a range without spaces | Excel Programming |