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: 1
Default Preserve a range information


Hi, consider this easy statements:

-----

Dim Cell As Range

Set Cell = Workbooks("Book1").Sheets(1).Range("A1")

-----

As I understand, the variable Cell "points" to Range D7 and when I wan
to get some property from the range the Cell ask for it and return it t
me.

If the workbook is closed the variable "Cell" stops working.

Is it possible to *copy* the range to the Cell variable so the variabl
continues to live after the workbook is closed? I don't want to make
new sheet and copy the range to that, I just want to use the memory.

TIA

/Nick

--
Nick
-----------------------------------------------------------------------
Nicke's Profile: http://www.excelforum.com/member.php...nfo&userid=293
View this thread: http://www.excelforum.com/showthread.php?threadid=27109

 
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
print only range that contain information in excel 2007 tazman Excel Discussion (Misc queries) 0 May 27th 10 10:19 PM
Pull information based on a range of numbers Styckz Excel Worksheet Functions 0 April 17th 06 08:31 AM
How can I sum information in a list with a date range? Dave Excel Worksheet Functions 2 November 23rd 04 08:17 PM
How to preserve cut/copy range on SelectionChange event? pH7[_8_] Excel Programming 0 August 25th 04 01:39 PM
Passing information from VBA variable to Excel range Doug R Excel Programming 1 April 30th 04 02:52 PM


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