Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 169
Default OPening worksheet

Hi,

In cell A1 I have a path: "C:\My Documents\March Rec.xls"

and I have code:

sub op()
A1.Open
end sub

Why doesnt this work? Thks a lot for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default OPening worksheet

This should work:

Workbooks.Open Range("A1").Text

Regards,
KL


"teresa" wrote in message
...
Hi,

In cell A1 I have a path: "C:\My Documents\March Rec.xls"

and I have code:

sub op()
A1.Open
end sub

Why doesnt this work? Thks a lot for your help



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
Opening worksheet Judy Excel Discussion (Misc queries) 1 February 9th 09 01:55 PM
opening worksheet maui172 Excel Discussion (Misc queries) 1 March 27th 08 11:23 PM
Opening a worksheet ssigler Excel Discussion (Misc queries) 1 May 12th 06 08:16 PM
opening worksheet from VB Alex[_13_] Excel Programming 1 May 10th 04 11:20 PM
Opening a worksheet in VBA gwgeller Excel Programming 3 January 28th 04 07:06 PM


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