Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default using spaces instead of underscores

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default using spaces instead of underscores

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default using spaces instead of underscores

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using spaces instead of underscores

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
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
how do I remove leading spaces and leave the remianing spaces w Debi Excel Worksheet Functions 6 February 28th 07 03:29 PM
Name Ranges: Function to convert special characters underscores Calanbraun Excel Worksheet Functions 2 August 20th 06 07:05 AM
spaces not recognized as spaces windsurferLA Excel Worksheet Functions 9 July 27th 06 11:49 AM
How can I replace spaces in text cells (excel) with underscores? JB2006 New Users to Excel 2 April 20th 06 06:05 PM
Help copying a range with spaces to a range without spaces Andy Excel Programming 1 September 23rd 03 04:26 PM


All times are GMT +1. The time now is 04:19 PM.

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

About Us

"It's about Microsoft Excel"