Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I open a file from a named cell?


Hi, this will be an easy one for you!

In my macro, I want to open a file based on a cell's contents.

So, if A1 contained "book1.xls", how do I open the file by referencin
the cell in the macro?

Thanks in advance

--
Cumberlan
-----------------------------------------------------------------------
Cumberland's Profile: http://www.excelforum.com/member.php...fo&userid=3344
View this thread: http://www.excelforum.com/showthread.php?threadid=54456

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default How do I open a file from a named cell?

workbooks.Open range("A1").value

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I open a file from a named cell?


It's OK, I've worked it out now!


--
Cumberland
------------------------------------------------------------------------
Cumberland's Profile: http://www.excelforum.com/member.php...o&userid=33445
View this thread: http://www.excelforum.com/showthread...hreadid=544568

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
2 excel workbooks open up from 1 file; named :1 and :2 - why? pkn Excel Discussion (Misc queries) 1 March 12th 10 03:55 PM
macro that opens file named in cell doesnt work Illuminati Excel Worksheet Functions 2 November 15th 07 11:49 AM
open file by inputting file name in cell? Roger Abbot Excel Discussion (Misc queries) 1 September 15th 07 02:38 PM
to click on a cell and go to named local HTML file [email protected] Excel Programming 3 October 11th 05 03:22 AM
Desktop shortcut to a named Excel file - every time I open it adds a "1" to the file name - how to disable? [email protected] Setting up and Configuration of Excel 2 November 27th 04 09:02 PM


All times are GMT +1. The time now is 04:59 PM.

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"