Please read faq222-2244 to see why you shouldn't post the same question twice!
I have answered this in thread222-952934
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
As before, turn on the Macro recorder, do the things you need to do with borders and see what it generates. I don't know what you mean by combining some cells. Can you give an example of what you are trying to do? Good Luck!
Check out SpecialCells in Help. If you use it with LastCell (eg LastRow = Cells.SpecialCells(xlCellTypeLastCell).Row, LastCol = Cells.SpecialCells(xlCellTypeLastCell).Column) you can then define a range object to do what you need. Ensure that your formatting tool bar is turned on and then record the formmatting you need. Then do something like the following with the code it creates:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.