Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Extending Selection of Column to the next Column to the Right

I am utilizing a find scenario where I locate data in a cell and then select
the column
Selection.EntireColumn.Select

From here I need to extend my selection to include the column to the right.
Can someone assist with this code? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 638
Default Extending Selection of Column to the next Column to the Right

Sub foo()
Range(Selection, Selection.Offset(0, 1)).EntireColumn.Select
End Sub

SkyEyes wrote:
I am utilizing a find scenario where I locate data in a cell and then select
the column
Selection.EntireColumn.Select

From here I need to extend my selection to include the column to the right.
Can someone assist with this code? Thanks


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
Word Wrap and extending cell/row/column size kippers Excel Discussion (Misc queries) 1 February 5th 08 03:18 PM
How to delete a section of column extending to 2nd page in Excel? carequest Excel Discussion (Misc queries) 2 June 11th 06 07:51 AM
Need help hiding/unhiding column based on autofilter selection in a different column kcleere Excel Programming 1 January 23rd 06 06:21 AM
extending selection Flip Excel Discussion (Misc queries) 5 April 5th 05 11:17 AM
Extending Selection Philip[_6_] Excel Programming 3 June 8th 04 08:42 PM


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