Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Selecting columns

I need to find certain text, then select the entire column that contains that
text, as well as the one next to it. I know how to select the column the
text appears in, I just can't figure out how to add the next column. Any
assistance would be immensely apprceciate.

Paula
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Selecting columns

One way:

Cells(3, 10).Resize(, 2).EntireColumn.Select

In article ,
PaulaO wrote:

I need to find certain text, then select the entire column that contains that
text, as well as the one next to it. I know how to select the column the
text appears in, I just can't figure out how to add the next column. Any
assistance would be immensely apprceciate.

Paula

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Selecting columns

Paula,

One way is to use resize:

Sheets(1).Range("E22").Resize(1, 2).EntireColumn.Select

HTH

Tim


"PaulaO" wrote in message
...
I need to find certain text, then select the entire column that contains

that
text, as well as the one next to it. I know how to select the column the
text appears in, I just can't figure out how to add the next column. Any
assistance would be immensely apprceciate.

Paula



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
selecting columns in a worksheet nuti Excel Worksheet Functions 1 January 12th 06 01:06 PM
Selecting Columns Shatin[_2_] Excel Programming 4 September 7th 05 01:07 PM
selecting columns and a loop John Excel Programming 0 August 24th 05 06:59 PM
Selecting columns aspadda Excel Programming 1 December 9th 03 03:56 AM
Selecting Columns xnman Excel Programming 2 November 18th 03 01:52 PM


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