Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default VBA-Application

Hi,
I want to highlight the row & column corresponding to the cell which is
currently selected.For that i m using the following macro:-

Private Sub Worksheet_SelectionChange(ByVal Target _
As Excel.Range)
Cells.Interior.ColorIndex = xlNone
With ActiveCell
.EntireRow.Interior.ColorIndex = 36
.EntireColumn.Interior.ColorIndex = 36
End With
End Sub

My only problem is that when i am using this & copying that particular
cell,as soon as move it to paste on some other cell my copy command get
cancel.Can anyone help me on this that I can use my excel worksheet i a
normal way & apply all commands on it.
 
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
Please free the Application Windows in Office 2007 DaveEv Excel Discussion (Misc queries) 0 October 22nd 06 12:29 PM
Distributed Excel Application Jason Excel Discussion (Misc queries) 1 August 7th 06 06:46 PM
Macro to paste and print in another application punter Excel Discussion (Misc queries) 1 June 17th 06 04:40 PM
Display form from an VB application in Excel kuhni Excel Discussion (Misc queries) 0 August 10th 05 06:04 PM
Displaying MS Excel Chart control in ASP.NET Application oursmp Charts and Charting in Excel 0 April 20th 05 04:17 PM


All times are GMT +1. The time now is 02:26 PM.

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"