+ Reply to Thread
Results 1 to 4 of 4

How to use Borders

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    How to use Borders

    I need to create a border style in cells that will come in varied places. To do this I tried to use the following code.
    Please Login or Register  to view this content.
    This gives an error message saying object does not support the object or method.
    I have checked to see if border is a member of Range and it is, so I cant see where I have gone wrong.
    Can someone point me in the right direction please?
    John

  2. #2
    Valued Forum Contributor
    Join Date
    08-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, Office 365
    Posts
    467

    Re: How to use Borders

    Hi

    Try something like this..
    Please Login or Register  to view this content.
    When using the 'dot' as a 'shortcut', you need to get your 'with' and 'end with' in proper 'pairs'

    zeddy

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,155

    Re: How to use Borders

    How about
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Re: How to use Borders

    Zeddy,
    Many thanks for your post. You got it bang to rights. I should have seen that myself, but I didn't.
    John

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional Formatting row borders, eliminate Inside Borders within row
    By lizziemac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-04-2018, 11:06 PM
  2. Replies: 2
    Last Post: 06-27-2017, 12:55 AM
  3. [SOLVED] Auto change borders to thick borders
    By Pierce Quality in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-22-2013, 11:17 PM
  4. Replies: 3
    Last Post: 02-20-2012, 05:09 PM
  5. Excel 2007 : VBA & Borders
    By LeoS in forum Excel General
    Replies: 1
    Last Post: 11-18-2009, 04:30 AM
  6. borders
    By galarza in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-09-2009, 08:10 AM
  7. borders
    By Brush Prairie in forum Excel General
    Replies: 0
    Last Post: 08-22-2005, 10:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1