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: 49
Default Open a workbook with a name that was recorded in a cell

I try to open a series of Workbooks from a list created in a Sheet, for ex.:
700.xls
701.xls
702.xls
703.xls
704.xls


ActiveCell.Select
Application.CutCopyMode = False
Selection.Copy
ChDir "E:\Servim\Livrari dupa inventar"
Workbooks.Open Filename:="E:\Servim\Livrari dupa inventar\7011.xls"
End Sub

and I don't want to mention €œ700. xls€, but to write €œthe content of cell A1€
Thank of support.

 
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
Recorded macro has hard cell contents. DocBrown Excel Discussion (Misc queries) 4 August 11th 06 07:16 PM
Excel macro, editing recorded cell.. not current TroyT Excel Programming 1 January 12th 06 01:26 PM
Editing recorded macro code. Referencing workbook name in functio Mark Excel Programming 2 April 6th 05 11:03 PM
how is the syntax to replace a date, recorded within a macro with a cell value ? thomipilot[_2_] Excel Programming 0 October 1st 04 12:34 PM
how is the syntax to replace a date, recorded within a macro with a cell value ? thomipilot Excel Programming 1 September 30th 04 05:18 PM


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