LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with - sign in sheet name??

I have code that will get a range method failed error when trying to
execute the statement:
x=range(s & i) where s="Brazil-008.ord" and i is any value. The
Brazil-008.ord tab (worksheet) does exist. If I change the salur os s and
the name of the worksheet so that it does not contain the minus sign it
works great.

I have had used a worksheet named Brazil-008.ord in another set of macros
which happens to have the same statement and it works fine.

Any ideas what could be causing this? Thanks!
 
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
Condition formats have $ sign problem copying Mark Excel Worksheet Functions 1 February 8th 09 07:07 AM
did you ever make a sign in sheet Barbara Excel Discussion (Misc queries) 2 January 20th 09 09:43 PM
Number / Pound sign problem Steve_n_KC Excel Programming 2 October 18th 07 10:14 PM
I have a sign up sheet and the Row line begins with the #3!!?? How can I change line numbers in Excel?? Excel Discussion (Misc queries) 2 March 19th 07 06:22 PM
Problem with changing cell contents with $ sign MMangen Excel Worksheet Functions 4 December 19th 06 11:22 PM


All times are GMT +1. The time now is 05:41 AM.

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

About Us

"It's about Microsoft Excel"