Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

my auto cell hiliting procedure kills copy/paste

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 24 Jan 2006 23:18 GMT
I have the macro code below that follows the cursor and underlines the active
cell selection row to assist users. But this seems to kill any copy/paste
capability. Is there any easy way around this problem?

   Cells.Borders.LineStyle = xlNone
   ActiveCell.EntireRow.Borders(xlEdgeBottom).LineStyle = xlContinuous
   ActiveCell.EntireRow.Borders(xlEdgeBottom).Weight = xlThick
Jim Thomlinson - 25 Jan 2006 00:43 GMT
Sorry. There is no effective way around it.
Signature

HTH...

Jim Thomlinson

> I have the macro code below that follows the cursor and underlines the active
> cell selection row to assist users. But this seems to kill any copy/paste
[quoted text clipped - 3 lines]
>     ActiveCell.EntireRow.Borders(xlEdgeBottom).LineStyle = xlContinuous
>     ActiveCell.EntireRow.Borders(xlEdgeBottom).Weight = xlThick
David - 25 Jan 2006 10:40 GMT
=?Utf-8?B?Sm9obg==?= wrote

> I have the macro code below that follows the cursor and underlines the
> active cell selection row to assist users. But this seems to kill any
[quoted text clipped - 4 lines]
>     xlContinuous ActiveCell.EntireRow.Borders(xlEdgeBottom).Weight =
>     xlThick

Try putting this line ahead of Cells.Borders.LineStyle = xlNone
If Application.CutCopyMode = 1 Then Exit Sub

Signature

David

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.