D Don Lowe May 6, 2008 #1 I need a Macro to scroll to the left a specifc amount of colunms without changing the row I am on.
D Doug Glancy May 6, 2008 #2 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, 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
D Don Lowe May 6, 2008 #3 what do you mean call it like this? What should I put if I need to shift to the right 25 colunms?
D Doug Glancy May 6, 2008 #4 Don, If it's always 25 columns then: Sub Scroll25Left() ActiveWindow.SmallScroll Toleft:=25 End Sub hth, Doug
Don, If it's always 25 columns then: Sub Scroll25Left() ActiveWindow.SmallScroll Toleft:=25 End Sub hth, Doug
D Don Lowe May 6, 2008 #5 Thank you....... It worked great Doug Glancy said: Don, If it's always 25 columns then: Sub Scroll25Left() ActiveWindow.SmallScroll Toleft:=25 End Sub hth, Doug Click to expand...
Thank you....... It worked great Doug Glancy said: Don, If it's always 25 columns then: Sub Scroll25Left() ActiveWindow.SmallScroll Toleft:=25 End Sub hth, Doug Click to expand...