Advertisement
Guest User

Can't scroll in Excel with arrow keys: How to fix

a guest
Oct 14th, 2021
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set returnedItems to (display dialog “Press OK to send scroll lock keypress to Microsoft Excel or press Quitwith title “Excel Scroll-lock Fix” buttons {Quit”, “OK”} default button 2)
  2. set buttonPressed to the button returned of returnedItems
  3. if buttonPressed is “OK” then
  4. tell application “Microsoft Excel”
  5. activate
  6. end tell
  7. tell application “System Events”
  8. key code 107 using {shift down}
  9. end tell
  10. activate
  11. display dialog “Scroll Lock key sent to Microsoft Excel” with title “Mac Excel Scroll-lock Fix” buttons {“OK”}
  12. end if
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement