Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default retrieving cell value from a query linked workbook

I have a spreadsheet that has query tables looking at another workbook. How
do I get a value from a specific cell at the same time?
I don't know how to reference this book that is"already open". OK if it is
open, how do I pull a simple date?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default retrieving cell value from a query linked workbook

It should be:

Range("MyLocalRange").Value =
Workbooks("MyRemoteWorkbookName").Range("RemoteRan ge").Value


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default retrieving cell value from a query linked workbook

Have not thought of that.
Thanks!

"Greg Glynn" wrote:

Correction:


Range("MyLocalRange").Value =
Workbooks("MyRemoteWorkbookName").Sheets("RemoteSh eetName").Range("RemoteRange").Value



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
linked workbook cell returns 0 is source workbook cell is blank? Syd[_2_] Excel Worksheet Functions 4 April 13th 09 07:49 PM
Retrieving linked label formula with VBA Holger Gerths Charts and Charting in Excel 1 May 14th 08 09:54 AM
Query linked cell values i_am_wookiee Excel Worksheet Functions 0 February 22nd 08 12:11 AM
Retrieving cell formatting from closed workbook paulharvey Excel Programming 1 July 15th 05 02:55 PM
Retrieving cell formatting from closed workbook Paul Harvey Excel Programming 0 July 14th 05 09:48 PM


All times are GMT +1. The time now is 08:51 PM.

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"