Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Clearing a diagonal line in a cell

I'm using an Excel worksheet to demonstrate subtraction (with "borrows") to my Maths students. I have a button which crosses out a digit (in a cell), ready to reduce the digit by 1
I can't code the worksheet to clear the "diagonal cell line", ready for the next example
Sounds complicated! but I would appreciate some assistance
thank
Bill
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Clearing a diagonal line in a cell

Perhaps:

With Selection
.Borders(xlDiagonalDown).LineStyle = xlNone
.Borders(xlDiagonalUp).LineStyle = xlNone
End With


--
Jim Rech
Excel MVP
"Bill" wrote in message
...
| I'm using an Excel worksheet to demonstrate subtraction (with "borrows")
to my Maths students. I have a button which crosses out a digit (in a cell),
ready to reduce the digit by 1.
| I can't code the worksheet to clear the "diagonal cell line", ready for
the next example.
| Sounds complicated! but I would appreciate some assistance.
| thanks
| Bill


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Clearing a diagonal line in a cell

thanks Jim, will try

Bill

----- Jim Rech wrote: -----

Perhaps:

With Selection
.Borders(xlDiagonalDown).LineStyle = xlNone
.Borders(xlDiagonalUp).LineStyle = xlNone
End With


--
Jim Rech
Excel MVP
"Bill" wrote in message
...
| I'm using an Excel worksheet to demonstrate subtraction (with "borrows")
to my Maths students. I have a button which crosses out a digit (in a cell),
ready to reduce the digit by 1.
| I can't code the worksheet to clear the "diagonal cell line", ready for
the next example.
| Sounds complicated! but I would appreciate some assistance.
| thanks
| Bill



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
vba line for clearing data from a cell cvgairport Excel Discussion (Misc queries) 5 October 8th 09 01:06 PM
add diagonal line with text on each side of line tcallander Excel Discussion (Misc queries) 1 March 26th 09 03:45 PM
diagonal line assaf1978 Excel Discussion (Misc queries) 1 November 11th 08 02:45 PM
how do I add a autoshape such as a diagonal line to a cell kim Excel Discussion (Misc queries) 0 May 16th 08 02:37 PM
Excel XP - Diagonal line in a cell Sulasno[_2_] New Users to Excel 2 May 16th 08 12:50 PM


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