Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code to "zoom" on a selection of one
or more chosen cells.: Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) If Target.Cells.Count 1 Then Exit Sub If Intersect(Target, Range ("B63:B65,G47:G48,G53,G64,G65,L58,L60:l65,M3")) Is Nothing Then ActiveWindow.Zoom = 70 Else ActiveWindow.Zoom = 100 End If End Sub My problem is I want to "zoom" when I select a merged cell "G73:H75", I've tried adding this range to the selection range in the above code but this isn't working. Any Ideas????? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Limiting selection in a cell AND linking that selection to a list | Excel Discussion (Misc queries) | |||
Please help! Print Preview Zoom is Grayed Out...Doesn't zoom. | Excel Discussion (Misc queries) | |||
ZOOM | Excel Worksheet Functions | |||
Copy Selection - Transpose Selection - Delete Selection | Excel Discussion (Misc queries) | |||
How can I get a macro in Excel to set the Zoom to "Selection"? | Excel Discussion (Misc queries) |