LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 9
Default How to adjust or resize a range?

I have asked this question on other forums, but have not got a reply yet.
It is really simple question in excel, but struggled on VBA. Please see attached 3 different tabs. The first one is the origianal tab, second one is what I am looking for as a solution and third one is my attempt.

In excel, I can cut, move and copy in to a desired range, and I thought using a combination of offset and resize will do the same job in VBA. All I wanted is using VBA to move the range in to top left hand corner and delete any blank columns and rows. I am very keen to undertstand the Resize property in VBA. Lots of peopel use resize and offset in the middle of thier code, so would apprciate if some one could either correct my code,or come up with a new code which has offset and resize in it.

Thanks
 
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
Help needed: How to adjust the SUM range??€ Chechu Excel Programming 0 January 20th 10 01:17 AM
Resize Table Range to exclude zero values and Input New Range into achart object jparnold Excel Programming 10 December 22nd 09 04:09 PM
Images do not resize when using 'fit to' or 'adjust to' Alison Simons Excel Discussion (Misc queries) 0 November 6th 09 10:29 AM
adjust range size?? ricksimm[_3_] Excel Programming 3 June 27th 05 09:15 AM
Range.Delete and Range.Resize.Name performance issues Test.File Excel Programming 0 February 15th 05 03:33 PM


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