Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Getting rid of one side a border?

In various sheets all based on the same 'look', cell M2 on
sheet named "Single" sometimes has a left hand border.
How can I get rid of this using code?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Getting rid of one side a border?

Sheets("Single").Range("M2").Borders(xlEdgeLeft).L ineStyle = xlNone

Cheers
Nigel

"Shaun Allan" wrote in message
...
In various sheets all based on the same 'look', cell M2 on
sheet named "Single" sometimes has a left hand border.
How can I get rid of this using code?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Getting rid of one side a border?

EXCELLENT! Thank you!


-----Original Message-----
Sheets("Single").Range("M2").Borders

(xlEdgeLeft).LineStyle = xlNone

Cheers
Nigel

"Shaun Allan" wrote

in message
...
In various sheets all based on the same 'look', cell M2

on
sheet named "Single" sometimes has a left hand border.
How can I get rid of this using code?



.

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
Clarified Post Convert Single Alpha to Side-by-Side (Not Cut n Pas Lin400 Excel Discussion (Misc queries) 2 June 22nd 09 06:47 PM
How2 setup one page distribution report side by side results sailorgirl Charts and Charting in Excel 0 August 20th 07 09:14 PM
different colour each side of diagonal border frisby Excel Discussion (Misc queries) 2 June 19th 06 03:55 PM
Display columns side by Side in the Data Area of a Pivot table Sue Excel Discussion (Misc queries) 1 March 21st 06 02:12 AM
Data markers in a stacked chart will not sit side by side by month WCH CHART PERSON Charts and Charting in Excel 2 March 28th 05 04:31 PM


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