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: 111
Default relative columns

Hi, I have this macro:

Range("C1").Select
Range(Selection, Selection.End(xlToRight)).Select
ActiveCell.Range("A1:Y1").Select
Selection.EntireColumn.Delete
Selection.EntireRow.Delete

there are A1 and B1 with a value and then say X1 with a value. In between
Cells are blank. The inbetween changes...i.e. next months its not X1, its Z1
or AA1.
I have to delete the columns where the Cells are blank...i.e. C1 to W1 or Z1
and then delete the entire row.

 
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
~ ~ ~ Its All Relative??? 23hitman Excel Discussion (Misc queries) 4 October 19th 08 02:24 AM
Relative columns in range vs absolute columns fybar Excel Programming 2 November 3rd 05 01:10 PM
HELP using simple TRIM function on relative columns Skip Albertson Excel Programming 2 December 27th 04 10:41 PM
Multipple copy relative value into columns twaccess[_2_] Excel Programming 3 February 28th 04 11:54 AM
Using Relative Addresses to Select Columns Andrew Rallings Excel Programming 1 August 13th 03 01:28 AM


All times are GMT +1. The time now is 11:16 PM.

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"