Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 157
Default "Casing" the strings for smooth code running

Hi,

I have a file lets say "AbC.xls" inactivated and if I write

Windows("abc.xls").activate

I get a Runtime error. Racked my mind in the last few days and posted it in
NG also. Finally I understood that I have to specify the filename with the
correct case and once I say
Windows("AbC.xls").activate

my code will work out to be fine. Something more strange. My colleagues have
the same Excel 2002 version as mine. If I run the same code in their
Workstations , then in some of my colleagues computer there will be no need
for correct case specification and the code will work out alright.How can
the "partiality" be explained.

Regards,
Hari
India


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default "Casing" the strings for smooth code running

Don't know.
What does WorkBooks("abc.xls").Activate do

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 157
Default "Casing" the strings for smooth code running

Hi Brian,

Im activating the workbook abc using this statement so that subsequently I
could perform some selective copy,paste operations

Regards,
Hari
India

"BrianB " wrote in message
...
Don't know.
What does WorkBooks("abc.xls").Activate do ?


---
Message posted from http://www.ExcelForum.com/



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
Sorting a text strings but omitting preceding "A" or "The" Pablo Excel Worksheet Functions 2 December 15th 09 10:10 PM
=IF function, reference problem to "text strings" in Data Validati Jim D.[_2_] Excel Discussion (Misc queries) 2 July 17th 09 08:56 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Looking for VB code to test for "RING" , "BUSY" disconnects or other signals BruceJ[_2_] Excel Programming 3 November 20th 03 01:55 AM


All times are GMT +1. The time now is 04:12 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"