+ Reply to Thread
Results 1 to 4 of 4

Auto makeing of borders

  1. #1
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Auto makeing of borders

    Hi

    I'm tryn to make this happen:

    When the values are copyed from workbook1 to a workbook template I want the values that were copyed there to have borders so you can read it easyer.
    Here's what I'm using:
    Please Login or Register  to view this content.
    And it works fine untill I have a few cells in colum 6 empty.

    I've explaind it in the attachment again.
    And I can't set the borders to already be there becose the range I copy there is dynamic that is Sometimes 6 Columns and 3 Rows and sometimes 6Columns and 15Rows and so on.

    Please help me fix this. I know what the problem is but I don't know how to fix it. I need it to count the last cell as not blank so it makes borders from Row1 Column 6 to Row (10) Column 6.

    Attached Files Attached Files
    Last edited by stojko89; 11-21-2011 at 08:23 AM.

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Auto makeing of borders

    maybe this will help
    Please Login or Register  to view this content.
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Auto makeing of borders

    or
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Auto makeing of borders

    tom1977

    All you did is change this line:
    Please Login or Register  to view this content.
    And it works perfect! :D

    ty

+ 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