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: 1
Default Selecting columns


I have a excel sheet with 5 columns (A,B,C,D,E). I want to write a macr
to select column D and E and then change its font color. I have merge
cells in Column A. What happens is that due to merged cells when
write the statement
columns ("D:E").select or Range("$D:$E").select
it selects the whole sheet(from column A to column E). Could someon
suggest a wayout to select column D and E only with merged cells i
Column A.

Thank

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
 
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 nonadjacent columns? Barnsie Excel Worksheet Functions 1 February 3rd 10 02:28 AM
Selecting different multiple columns rcg Excel Worksheet Functions 1 September 26th 06 05:58 PM
selecting columns in a worksheet nuti Excel Worksheet Functions 1 January 12th 06 01:06 PM
Selecting Columns xnman Excel Programming 2 November 18th 03 01:52 PM
Selecting Multiple Columns Jay[_12_] Excel Programming 1 October 13th 03 05:35 PM


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