Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default my auto cell hiliting procedure kills copy/paste

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).LineSty le = xlContinuous
ActiveCell.EntireRow.Borders(xlEdgeBottom).Weight = xlThick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default my auto cell hiliting procedure kills copy/paste

Sorry. There is no effective way around it.
--
HTH...

Jim Thomlinson


"John" 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 copy/paste
capability. Is there any easy way around this problem?

Cells.Borders.LineStyle = xlNone
ActiveCell.EntireRow.Borders(xlEdgeBottom).LineSty le = xlContinuous
ActiveCell.EntireRow.Borders(xlEdgeBottom).Weight = xlThick

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 195
Default my auto cell hiliting procedure kills copy/paste

?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
copy/paste capability. Is there any easy way around this problem?

Cells.Borders.LineStyle = xlNone
ActiveCell.EntireRow.Borders(xlEdgeBottom).LineSty le =
xlContinuous ActiveCell.EntireRow.Borders(xlEdgeBottom).Weight =
xlThick


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

--
David
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
auto copy and paste [email protected] Excel Discussion (Misc queries) 0 February 22nd 08 05:24 PM
Group Names Change Upon Paste, Kills Code. Doug Glancy Excel Programming 0 February 7th 04 04:19 PM
Group Names Change Upon Paste, Kills Code. Bull Splat Excel Programming 1 February 7th 04 04:05 PM
Procedure kills copy and paste Bura Tino Excel Programming 0 November 24th 03 04:22 AM
Worksheet_Change Event - Macro kills copy and paste Alan Excel Programming 5 September 23rd 03 02:58 AM


All times are GMT +1. The time now is 02:40 AM.

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"