LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Help with code (delete range)

It works! That's absolutely fantastic.

Thanks.

Tom.

"Norman Jones" wrote:

Hi Mr Tom

Unfortuantely, it's still not stopping at the end fo the second range - it
just keeps going.


You define the column C range of interest:

Set Rng = SH.Range("C5:C30") '<<==== CHANGE



---
Regards,
Norman



"mr tom" <mr-tom at mr-tom.co.uk.(donotspam) wrote in message
...
Norman,

Thanks so much for helping me.

Unfortuantely, it's still not stopping at the end fo the second range - it
just keeps going.

I think this will work better as a navigation and selection exercise
rather
than counts, ifs etc as the size of the first and second data sets plus
the
number of columns between them is unpredictable, which is why I've used C5
as
a starting point and then xlDown etc.

I've put a fresh explanation as a reply to my original post, which should
help clarify.

Cheers,

Tom.




 
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
Code to Delete Range Names Sean Excel Programming 3 January 3rd 07 11:05 PM
How to Delete a Range in Closed Workbook (to Replace Delete Query) [email protected] Excel Discussion (Misc queries) 1 March 8th 06 10:10 AM
Code to delete a Line in a another code helmekki[_88_] Excel Programming 1 August 8th 05 01:14 AM
VBA code delete code but ask for password and unlock VBA protection WashoeJeff Excel Programming 0 January 27th 04 07:07 AM
VBA code to delete VBA code in another Workbook Chip Pearson Excel Programming 0 September 15th 03 03:54 PM


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