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: 4
Default Setting workbooks

I have some code that includes the line:

Set shRanks = Workbooks("Ranks.csv").Sheets("Ranks")

The problem is that the file I need to set as shRanks may have an
integer in its name - eg "Ranks17.csv"

How best can I do this?
 
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
Excel global setting for all workbooks? Calculation Automatic Ben Excel Discussion (Misc queries) 1 April 19th 07 04:27 PM
Setting a workbooks protection/read only/locked Jason Kontkanen Excel Programming 1 September 23rd 05 04:29 PM
Global Setting For All Workbooks - Filename In Footer TOMB Excel Worksheet Functions 3 April 4th 05 06:53 PM
Setting Maximum number of Workbooks per Instance of Excel Tom Excel Programming 4 January 14th 05 01:35 PM
add-ins error + setting workbooks peach255 Excel Programming 0 July 21st 03 07:28 PM


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