Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi all,
In some rows (I can't predict which ones) between rownumber 2 an 120 the cells in the ranges A : N have a thick lower border (Borders(xlEdgeBottom) and Weight = xlThick). In some cases there can occur a gap (in columns F and M only). What is the most efficient code to "repair" these gaps? TIA Jack Sons The Netherlands |
#2
![]() |
|||
|
|||
![]()
Do you really need code for this? Seems like it would be easier to
highlight that range and apply thick borders. |
#3
![]() |
|||
|
|||
![]()
Dave,
Sure, but othe people will open it (it is made by code anew every time it is opened) and it is not nice to present a spreadsheet with the gaps I mentioned. Jack. "Dave O" schreef in bericht oups.com... Do you really need code for this? Seems like it would be easier to highlight that range and apply thick borders. |
#4
![]() |
|||
|
|||
![]()
Here's an idea: you might record the macro that will apply borders, and
then add that specific code at the bottom of the macro that runs every time the file opens. The additional lines of code would look something like this: Range("A2:N120").Select With Selection.Borders(xlEdgeBottom) .LineStyle = xlContinuous .Weight = xlThick End With Range("A1").Select |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lost my Paste | Excel Discussion (Misc queries) | |||
Write code to insert multiple lines | Excel Discussion (Misc queries) | |||
Border lines not printing | Excel Worksheet Functions | |||
Missing lines in chart w/x-axis with months 1-24... | Charts and Charting in Excel | |||
how can I fill labels in a chart, so that the grid lines don't in. | Charts and Charting in Excel |