?
Solved

Mimicking page up and page down

Posted on 2010-09-01
6
Medium Priority
?
215 Views
Last Modified: 2012-05-10
How can I have 2 buttons on Excel sheet which does page up and page down? Thanks.
0
Comment
Question by:teeling
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 9

Accepted Solution

by:
javajws earned 2000 total points
ID: 33583554
ActiveWindow.LargeScroll down:=1 (pagedown)
ActiveWindow.LargeScroll up:=1 (pageup)

More info at:
http://www.mrexcel.com/forum/showthread.php?t=14263
0
 

Author Comment

by:teeling
ID: 33583557
So I now have 2 buttons on the Excel sheet. The codes work fine. When I click on the pagedown button, the whole sheet scrolls down, both the pageup and pagedown button moves all the way up. How can I let these 2 buttons float with the scrolling? Thanks.
0
 
LVL 9

Expert Comment

by:javajws
ID: 33583618
One option is to put the button in the top row and Freeze Pane for the top row.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:teeling
ID: 33583633
just figured that out.. do u know how to put the triangle picture on a command button?
0
 
LVL 9

Expert Comment

by:javajws
ID: 33583697
If you use the "Command Button (ActiveX Control)" not the "Button (Form Control)", you can right click the button, select Properties and set the Picture Property to any picture you want to.

The "Button (Form Control)", does not have the ability to have a picture on it.  Only text.
0
 

Author Comment

by:teeling
ID: 33583832
Got it. Thank you very much :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question