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: 3
Default ActiveRange not resetting

I've written a macro that copies/pastes a lot of data from different
files into a single sheet. My macro pastes the data using a LastRow
variable I included based on the ActiveRange.

My problem is when I try to delete the data and run it again, the
ActiveRange is not resetting - it is registering the End at wherever my
data previously ended. I try clearing the contents, setting formatting
to general, but nothing seems to work. Does anyone know how to fix
this?

Thanks,

Brad

 
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
password resetting Mohan Kumar Excel Discussion (Misc queries) 1 September 3rd 06 03:38 AM
Resetting the end of a worksheet Cachod1 New Users to Excel 1 March 29th 05 07:44 PM
Generic Name for ActiveRange in VLookup Sue[_6_] Excel Programming 2 October 18th 04 10:42 AM
Used Range is not resetting R Avery Excel Programming 8 May 28th 04 11:31 AM
Resetting a variable to nothing Todd Huttenstine[_3_] Excel Programming 4 January 27th 04 12:06 PM


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