+ Reply to Thread
Results 1 to 3 of 3

Want a Macro button that slides the spreadsheet

  1. #1
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Want a Macro button that slides the spreadsheet

    I have built a form that shows data for two different years, but the spreadsheet is too big to fit the screen. I have columns A and B frozen because they contain row headers. I want to be able to make a button that slides the spreadsheet over perfectly to show the 09 data. I do not want to hide because the user will want to slide back and forth and will be anoyed if they have to unhide everytime.

    I have tried some things and the problem I have had is if I record myself sliding, it does not work at different %-zoom levels, and if I have already slid part way and push my button, it slides to far.

    Any thoughts?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Caliskier,

    Add this to your code. This examples places column "M" at left of the screen.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269
    Quote Originally Posted by Leith Ross
    Hello Caliskier,

    Add this to your code. This examples places column "M" at left of the screen.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross
    AWESOME, so easy, I need to learn VBA

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1