+ Reply to Thread
Results 1 to 7 of 7

Controlled vba screen scrolling

  1. #1
    Registered User
    Join Date
    06-24-2011
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    36

    Controlled vba screen scrolling

    I have a very interactive spreadsheet designed for making software project estimates. It consists of many different templates, forms, spreadsheets, etc. I am in the process of desinging a tutorial that takes the first time user through all of the tabs, with msgbox's that point out the key points on each sheet. Is it possible to code in a scroll? All of the spreadsheets are designed to be one screen wide, but most are long, during the tutorial on certain pages I would like the screen to SLOWLY scroll down then up, between (during if possible, but i doubt it) message boxes.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Quick Question for Excel Guru (controlled vba screen scrolling)

    Although a simple valued forum contributor:

    You could use a modeless userform and use application.ontime to scroll the sheet downwards & upwards.



  3. #3
    Registered User
    Join Date
    06-24-2011
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Quick Question for Excel Guru (controlled vba screen scrolling)

    Perhaps my post made me sound much smarter than I am

    and perhaps you underestimate yourself, as relative to me you are definitely a guru

    Would you mind explaining a little further? Currently I just have a button on the intro page that says "Tutorial" and it takes you right through all the sheets, one sheet at a time, always rehiding them after the sheet. Anyway to integrate a scroll right into that macro to where it scrolls while certain sheets are activated?

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Controlled vba screen scrolling

    I made something up for you: cfr. the attachment.

    Open the workbook; click the button and have some patience.....
    Every 5 seconds the window will be scrolled down by 5 rows.
    If you close the userform the repeating macro will be ended.
    Attached Files Attached Files

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Controlled vba screen scrolling

    Wouldn't a screen recorder be more useful to create help videos?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    06-24-2011
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Controlled vba screen scrolling

    Could I integrate that code between msgbox's that I already have, instead of using userforms?

    Yes a screen recorder would be ideal, but I dont have that software. What do you reccomend using and I can maybe check into it?

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Controlled vba screen scrolling

    There's lots of free ones just do a search, CamStudio is free

+ 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