Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Adress of Copied Range

When you select a Range and Copy it, a moving border is created around
the selection. This "border" persists until you press Esc or set
Application.CutCopyMode=False in VBA.

If you click in other area of the sheet, itīll still be blinking
around a previous copied range. How do I detect the address of the
moving border once I position inside other cell?

Thanks
LC
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Adress of Copied Range

I don't think you can. But why do you want to?

If you copied the range in code, you'll know what you copied. If you just want
to paste the already copied cells, you can just paste to one cell and excel will
expand the "to" range to match the dimensions of the "from" range.



Luis Carrion wrote:

When you select a Range and Copy it, a moving border is created around
the selection. This "border" persists until you press Esc or set
Application.CutCopyMode=False in VBA.

If you click in other area of the sheet, itīll still be blinking
around a previous copied range. How do I detect the address of the
moving border once I position inside other cell?

Thanks
LC


--

Dave Peterson

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
Copied sheet causing duplicate range name error (Excel 2010) jgeniti Excel Discussion (Misc queries) 0 November 17th 11 04:55 PM
Can a range be copied if it varies in size? TheMilkGuy Excel Discussion (Misc queries) 4 August 12th 09 10:05 PM
Named-range source-data for pie charts on copied worksheets [email protected] Charts and Charting in Excel 4 March 19th 07 05:50 AM
V look up and data that goes out when copied in range Lyndy Lou Excel Discussion (Misc queries) 1 December 10th 06 11:55 PM
Return cell adress for next non-blank cell in a range toreadore Excel Worksheet Functions 1 June 28th 06 12:37 PM


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