+ Reply to Thread
Results 1 to 15 of 15

Borders

  1. #1
    Registered User
    Join Date
    10-03-2014
    Location
    Dayton
    MS-Off Ver
    2010
    Posts
    8

    Borders

    I run a report every week where i need to put borders around the text and numbers only on the spreadsheet. Is there a macro someone has created to help me with this issue.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Borders

    It's fairly simple, but will be easier to help you with something specific to work with.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    10-03-2014
    Location
    Dayton
    MS-Off Ver
    2010
    Posts
    8

    Re: Borders

    See attached. Thanks for the reply.
    Attached Files Attached Files
    Last edited by Andrew1972; 10-03-2014 at 04:54 PM.

  4. #4
    Registered User
    Join Date
    10-03-2014
    Location
    Dayton
    MS-Off Ver
    2010
    Posts
    8

    Re: Borders

    I have uploaded the files. Can you please take a look at these and let me know how i can add borders? I have attached one without the borders and one with. Thank you.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Borders

    Maybe:

    Please Login or Register  to view this content.
    Last edited by JOHN H. DAVIS; 06-15-2015 at 03:40 PM.

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Borders

    Hi Andrew

    Another approach
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  7. #7
    Registered User
    Join Date
    10-03-2014
    Location
    Dayton
    MS-Off Ver
    2010
    Posts
    8

    Re: Borders

    It worked almost perfectly except it didnt border the date in column j. How do i correct this? And thank you in advance.

  8. #8
    Registered User
    Join Date
    10-03-2014
    Location
    Dayton
    MS-Off Ver
    2010
    Posts
    8

    Re: Borders

    Sorry I forgot to attach the spreadsheet.
    Attached Files Attached Files

  9. #9
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Borders

    Hi Andrew

    Your original File didn't have a Column J...change the 9 to 10...

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    10-03-2014
    Location
    Dayton
    MS-Off Ver
    2010
    Posts
    8

    Re: Borders

    jaslake,

    Can I bother you with one more question? When I first run my report, I need to insert a row between each change in job. Can I add this insert function to the macro you provided? See attached spreadsheet for reference.
    Attached Files Attached Files

  11. #11
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Borders

    Hi Andrew

    Would this be Column 1?

    When I first run my report, I need to insert a row between each change in job

  12. #12
    Registered User
    Join Date
    10-03-2014
    Location
    Dayton
    MS-Off Ver
    2010
    Posts
    8

    Re: Borders

    Not sure what you mean. I have attached what i need it to look like.
    Attached Files Attached Files

  13. #13
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Borders

    Hi Andrew

    Try this
    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    10-03-2014
    Location
    Dayton
    MS-Off Ver
    2010
    Posts
    8

    Re: Borders

    Perfect. Thank you so much for your help, this will save me so much time.

  15. #15
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Borders

    You're welcome...glad I could help...thanks for the Rep.

    If this resolves your issue please mark your Thread as SOLVED.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:
    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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] 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
  2. VBA help with borders.
    By Kingviper74 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2013, 01:42 AM
  3. Replies: 3
    Last Post: 02-20-2012, 05:09 PM
  4. Help with borders
    By Mary Mack in forum Excel General
    Replies: 1
    Last Post: 07-05-2011, 06:45 AM
  5. [SOLVED] 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