+ Reply to Thread
Results 1 to 6 of 6

Problem in Bordering a Range

  1. #1
    Forum Contributor vijay2482's Avatar
    Join Date
    03-03-2009
    Location
    Paris,France
    MS-Off Ver
    Excel 2003
    Posts
    263

    Problem in Bordering a Range

    Hi all,
    I would like to draw the border for the cells with in the usedrange from column A to BM.
    I have the below code, that I was using to border the column D alone.
    When i change the range from "A:BM", i dont get the intended output.
    Can somebody tell, what modification, I should do to get the desired output?
    Please Login or Register  to view this content.
    Thanks in Advance
    Last edited by vijay2482; 09-21-2009 at 05:51 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Problem in Bordering a Range

    Try this
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor vijay2482's Avatar
    Join Date
    03-03-2009
    Location
    Paris,France
    MS-Off Ver
    Excel 2003
    Posts
    263

    Re: Problem in Bordering a Range

    Roy,

    Thanks for the code.
    It does borders the entire excel.
    But I dont want to disturb the last used range of the excel sheet.
    Please Login or Register  to view this content.
    I modified your code as above, but got error.
    Any help on this will be helpfull.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Problem in Bordering a Range

    I'm not clear which row you do not require borders on

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Problem in Bordering a Range

    This will add borders to all cells except the last row
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor vijay2482's Avatar
    Join Date
    03-03-2009
    Location
    Paris,France
    MS-Off Ver
    Excel 2003
    Posts
    263

    Re: Problem in Bordering a Range

    Thanks a lot Roy,
    The borders were drawn as expected.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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