They probably represent trailing spaces from your original list -
spaces are not allowed when you create a named range (eg if you have a
heading "Cost Code" and use Insert|Name|Create, the named range will
be Cost_Code). I'm surprised to see some spaces in your names -
perhaps it's because of the apostrophes.
Hope this helps.
Pete
On Aug 28, 2:28 pm, Richard Quadling.
<RichardQuadl...@discussions.microsoft.com> wrote:
> Further tohttp://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg...,
>
[quoted text clipped - 130 lines]
>
> But what are the trailing _ about?
Richard Quadling. - 29 Aug 2007 09:08 GMT
> They probably represent trailing spaces from your original list -
> spaces are not allowed when you create a named range (eg if you have a
[quoted text clipped - 5 lines]
>
> Pete
Hello and thank you for replying.
From what I can tell, the worksheet names cannot have single quotes in them
as they are used for delimiters (makes things a LOT simpler so +1 to MS for
that!).
Worksheets are presented as tables in ODBC with $ appended (and maybe
wrapped in single quotes if the worksheet name has a space in it). They can
contain $ which is something I had to watch out for in a few of the workbooks
(exchange rate data).
It seems that ranges are the culprit (print area, print titles, named
ranges, etc).
So, basically, my code is set to ignore any table name which isn't in the
form of
('?)(.*)\$\1?
So far, none of the users are saying that they cannot access the data.
Richard.
Dave Peterson - 29 Aug 2007 12:19 GMT
I don't speak ODBC, but Excel allows apostrophes in worksheet names.
<<snipped>>
> From what I can tell, the worksheet names cannot have single quotes in them
> as they are used for delimiters (makes things a LOT simpler so +1 to MS for
> that!).
<<snipped>>

Signature
Dave Peterson
Richard Quadling. - 29 Aug 2007 12:44 GMT
> I don't speak ODBC, but Excel allows apostrophes in worksheet names.
Ah. Slight amendment. I can't begin or end with a single quote.
> <<snipped>>
> >
[quoted text clipped - 3 lines]
> >
> <<snipped>>