View Single Post
 
Old 01-31-2015, 09:20 AM
Jazz43 Jazz43 is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: Oct 2009
Posts: 51
Jazz43 is on a distinguished road
Default Change only last line of Selection

Hello,

I'm quite new to programming with VBA and im really struggling with finding appropriate commands for it.
So basically what i want to do is to add a border around a selection with VBA. That already works fine (with Selection.Borders) but i also want to have a small space after the border. I tried it with Selection.Paragraph.SpaceAfter, which works fine, but I only want to apply it to the last line, the spaces in the text shouldnt change. Any idea how to do that?

Thanks for any help!
Reply With Quote