Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need a Macro to scroll to the left a specifc amount of colunms without
changing the row I am on. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Don,
Try this: Sub ScrollLeft(lngColumns As Long) ActiveWindow.SmallScroll Toleft:=lngColumns End Sub and call it like this: Sub test() ScrollLeft (5) 'adjust this number End Sub hth, Doug "Don Lowe" wrote in message ... I need a Macro to scroll to the left a specifc amount of colunms without changing the row I am on. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
what do you mean call it like this?
What should I put if I need to shift to the right 25 colunms? "Doug Glancy" wrote: Don, Try this: Sub ScrollLeft(lngColumns As Long) ActiveWindow.SmallScroll Toleft:=lngColumns End Sub and call it like this: Sub test() ScrollLeft (5) 'adjust this number End Sub hth, Doug "Don Lowe" wrote in message ... I need a Macro to scroll to the left a specifc amount of colunms without changing the row I am on. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Don,
If it's always 25 columns then: Sub Scroll25Left() ActiveWindow.SmallScroll Toleft:=25 End Sub hth, Doug "Don Lowe" wrote in message ... what do you mean call it like this? What should I put if I need to shift to the right 25 colunms? "Doug Glancy" wrote: Don, Try this: Sub ScrollLeft(lngColumns As Long) ActiveWindow.SmallScroll Toleft:=lngColumns End Sub and call it like this: Sub test() ScrollLeft (5) 'adjust this number End Sub hth, Doug "Don Lowe" wrote in message ... I need a Macro to scroll to the left a specifc amount of colunms without changing the row I am on. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you....... It worked great
"Doug Glancy" wrote: Don, If it's always 25 columns then: Sub Scroll25Left() ActiveWindow.SmallScroll Toleft:=25 End Sub hth, Doug "Don Lowe" wrote in message ... what do you mean call it like this? What should I put if I need to shift to the right 25 colunms? "Doug Glancy" wrote: Don, Try this: Sub ScrollLeft(lngColumns As Long) ActiveWindow.SmallScroll Toleft:=lngColumns End Sub and call it like this: Sub test() ScrollLeft (5) 'adjust this number End Sub hth, Doug "Don Lowe" wrote in message ... I need a Macro to scroll to the left a specifc amount of colunms without changing the row I am on. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
My scroll wheel, scrolls right to left, not up and down? | Excel Discussion (Misc queries) | |||
How do I change mouse scroll from left and right to up and down? | New Users to Excel | |||
Scroll two columns on right while left is stationary | Excel Discussion (Misc queries) | |||
Scroll to the right or left | Excel Programming | |||
Mouse scroll jumps from up/down to left/right | Excel Discussion (Misc queries) |