Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
While running a macro in a new worksheet for grid line an error occured and while debugging " .LineStyle = xlContinuous " Thanks in advance Ravi Kumar |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Perhaps you could share more of the code. -- Don Guillett Microsoft MVP Excel SalesAid Software "Ravi" wrote in message ... Hi, While running a macro in a new worksheet for grid line an error occured and while debugging " .LineStyle = xlContinuous " Thanks in advance Ravi Kumar |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
here is the code
Sub line() ' ' line Macro ' Macro recorded 7/23/2008 by ravikumart ' ' Keyboard Shortcut: Ctrl+Shift+W ' Selection.Borders(xlDiagonalDown).LineStyle = xlNone Selection.Borders(xlDiagonalUp).LineStyle = xlNone With Selection.Borders(xlEdgeLeft) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With With Selection.Borders(xlEdgeTop) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With With Selection.Borders(xlEdgeBottom) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With With Selection.Borders(xlEdgeRight) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With With Selection.Borders(xlInsideVertical) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With With Selection.Borders(xlInsideHorizontal) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With End Sub "Don Guillett" wrote: Perhaps you could share more of the code. -- Don Guillett Microsoft MVP Excel SalesAid Software "Ravi" wrote in message ... Hi, While running a macro in a new worksheet for grid line an error occured and while debugging " .LineStyle = xlContinuous " Thanks in advance Ravi Kumar |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I permanently set grid line color | Excel Discussion (Misc queries) | |||
Excel 2007 - "Snap To Grid" doesn't work on same grid line | Excel Discussion (Misc queries) | |||
The grid line disappear when I type in the cell | Excel Discussion (Misc queries) | |||
how doi create a grid chart so i can plot a line ? | Charts and Charting in Excel | |||
How do I slant grid line at top of each column? | Excel Discussion (Misc queries) |