Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / August 2007

Tip: Looking for answers? Try searching our database.

More to http://www.microsoft.com/communities/newsgroups/en-us/defa

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard Quadling. - 28 Aug 2007 14:28 GMT
Further to
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.
public.excel&tid=8532b88a-79c6-4a3d-a542-fcb21327dcff&cat=en_US_e064c9ec-14bf-4e
f7-ba07-6a1970559f64&lang=en&cr=US&p=1
,

Here is a list of names from all the xls files I'm working with which make
sense ...

'33 TRAILERS$'
'40 TRAILERS$'
'44-45''TRAILERS$'
'ARGOS (2)$'
ARGOS$
Barton$
Basildon$
'Basildontrailers $'
bridgtrailers$
Bridgwater$
Bruntingthorpe$
Castleford$
castlefordtrailers$
Corby$
CorbyTrailers$
'DOUBLE DECKS$'
'Fleet List$'
Heywood$
heywoodtrailers$
Lists$
'Magna Park$'
Magna$
'magnatrailers $'
'MEGA DECKS$'
Mossend$
'mosstrailers $'
'MULTI DECKS$'
peak$
'Rigid Summary$'
'SHORT TRAILERS$'
SHUNTER$
shunters$
Telford$
'Title Page$'
'TRACTOR UNITS$'
'Trafford Park$'
Trafford$
trafftrailers$
'Trailers $'
'Trunk Fleet$'
units$
WGC$
'wgctrailers $'
Wolves$

Here is a list of table names which have "other" formats ...

'33 TRAILERS$'_
'33 TRAILERS$'Print_Area
'40 TRAILERS$'_
'40 TRAILERS$'Print_Area
'44-45''TRAILERS$'_
'44-45''TRAILERS$'Print_Area
'ARGOS (2)$'_
Barton$_
Barton$Print_Area
Basildon$_
Basildon$Print_Area
'Basildontrailers $'_
bridgtrailers$_
Bridgwater$_
Bridgwater$Print_Area
Bruntingthorpe$_
Castleford$_
Castleford$Print_Area
castlefordtrailers$_
castlefordtrailers$Print_Area
Corby$_
Corby$Print_Area
CorbyTrailers$_
CorbyTrailers$Print_Area
'DOUBLE DECKS$'_
'Fleet List$'_
'Fleet List$'Print_Titles
Heywood$_
Heywood$Print_Area
heywoodtrailers$_
heywoodtrailers$Print_Area
'Magna Park$'_
'Magna Park$'Print_Area
Magna$_
Magna$Print_Area
'magnatrailers $'_
'magnatrailers $'Print_Area
'MEGA DECKS$'_
'MEGA DECKS$'Print_Area
Mossend$_
Mossend$Print_Area
'mosstrailers $'_
'mosstrailers $'Print_Area
'MULTI DECKS$'_
'MULTI DECKS$'Print_Area
peak$_
peak$Print_Area
'Rigid Summary$'_
'SHORT TRAILERS$'_
'SHORT TRAILERS$'Print_Area
SHUNTER$_
SHUNTER$Print_Area
shunters$_
shunters$Print_Area
sites
statuses
Telford$_
Telford$Print_Area
'TRACTOR UNITS$'_
'TRACTOR UNITS$'Print_Area
'Trafford Park$'_
'Trafford Park$'Print_Area
Trafford$_
trafftrailers$_
trafftrailers$Print_Area
'Trailers $'_
'Trailers $'Print_Area
'Trunk Fleet$'_
'Trunk Fleet$'Print_Area
types
units$_
WGC$_
WGC$Print_Area
'wgctrailers $'_
'wgctrailers $'Print_Area
Wolves$_
Wolves$Print_Area

I now see the Print_Area and Print_Titles are not for me in, so I'm
excluding them from my list of tables for the application to work with.

But what are the trailing _ about?
Pete_UK - 28 Aug 2007 17:33 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
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>>

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.