+ Reply to Thread
Results 1 to 2 of 2

borders around range of cells inside another range

  1. #1
    Forum Contributor
    Join Date
    07-08-2015
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    128

    borders around range of cells inside another range

    HI all

    The code I am supplying puts borders around each cell in the range A3:A4; B3:B4,.... until G4.

    I am attempting to revise the code so that it will put borders around A3:D20, E3:H20; ....... until AB20.

    In my new code, I have used the .Resize (17, 4), but I can only get 1 column of the group of 4 to print out.

    Please Login or Register  to view this content.
    thanks

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: borders around range of cells inside another range

    Quote Originally Posted by scott micklo View Post
    ng to revise the code so that it will put borders around A3:D20, E3:H20; ....... until AB20.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. [SOLVED] Borders around all cells in a range
    By JonSnow in forum Excel General
    Replies: 5
    Last Post: 11-26-2013, 10:21 AM
  2. Macro to change all borders in a range of cells
    By DJFudd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2013, 01:00 AM
  3. Macro to change all borders in a range of cells
    By DJFudd in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 04-13-2013, 01:00 AM
  4. Function inside Macro that move a range rows if cells are used
    By oguilamo in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 08-29-2012, 11:51 PM
  5. [SOLVED] Use of Range and Last row to add borders around cells.
    By BBoydAnchor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2012, 01:38 AM
  6. Referening cells inside a named range
    By kayard in forum Excel General
    Replies: 3
    Last Post: 06-15-2010, 05:55 AM
  7. How to remove borders in a range of cells?
    By DORI in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 12-08-2005, 10:50 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