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: 2,646
Default workbook name with and without extension

Hi All,

I have a macro processing a CSV file named 2005_12.CSV, the name stored in a
variable csvtoprocess WITHOUT extension, that is csvtoprocess = "2005_12". On
my PC the line

Workbooks(csvtoprocess).Activate

works, but on an other PC it fails, and works only if csvtoprocess contains
the extension as well, that is csvtoprocess = "2005_12.CSV"

What is the cause of this difference, how can I affect the behaviour of
XL2000 in this aspect?

Thanks,
Stefi

 
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
copy formula from 1 workbook to another & not carry the extension bpittman Excel Worksheet Functions 3 November 12th 07 03:23 PM
Transformation d'images avec une extension .jpg ou .jpeg en images avec extension .bmp ou .ico imej-clavier Excel Discussion (Misc queries) 1 May 28th 05 05:52 PM
.xlb extension Tanya T. Excel Discussion (Misc queries) 5 April 28th 05 12:12 AM
xls extension winjon Excel Discussion (Misc queries) 1 March 3rd 05 11:20 AM
Separating workbook name from extension William Francis[_2_] Excel Programming 2 November 10th 04 05:32 PM


All times are GMT +1. The time now is 04:15 AM.

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"