How to Auto-Scroll and Loop an Excel Workbook on a TV Display
Question details
The user needs a way to continuously scroll and loop specific cell ranges in an Excel workbook to display it as a presentation on a TV monitor.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Displaying a SharePoint-hosted Excel workbook as a continuous, unattended presentation on a screen.
- Observed behavior
- Excel lacks a native presentation mode for auto-scrolling and looping, requiring a custom VBA macro solution to automate the view.
Ensure your Excel file is saved in a macro-enabled format (.xlsm) and identify the exact cell ranges (e.g., A1:K30) you want the screen to cycle through.
Create a VBA Macro to Auto-Scroll and Loop Ranges
Write and execute a custom VBA script that selects specific ranges, pauses, and loops continuously for presentation purposes.
Since Excel does not have a built-in slideshow mode, you can use Visual Basic for Applications (VBA) to force the application to scroll to different sections of your worksheet at specific time intervals.
Press Alt + F11 on your keyboard to open the VBA Editor. Click 'Insert' in the top menu and select 'Module' to create a new script area.
Create a subroutine that uses 'Application.Goto' to select your first range, followed by 'Application.Wait' to pause for a few seconds. Repeat this for each range you want to display, and call the subroutine again at the end to create an infinite loop.
Run the macro by pressing F5. Verify that the screen scrolls to the desired areas and pauses correctly before moving to the next section.
If the workbook is opened from SharePoint, ensure your Trust Center settings allow macros to run. Test the macro on the actual display computer to ensure network syncs do not interrupt the script.

Use WPS Spreadsheet for VBA Presentations
WPS Office fully supports VBA macros, allowing you to create customized auto-scrolling dashboards and loop specific ranges seamlessly for unattended TV presentations.
- 1. Download and Install WPS Office: Get the free version of WPS Office from the official website and install it on your presentation computer.
- 2. Open your Macro-Enabled File: Launch WPS Spreadsheet and open your .xlsm file containing your dashboard data.
- 3. Access the VBA Editor: Navigate to the 'Developer' tab on the ribbon and click 'VBA Editor' to input or review your looping script.
- 4. Run the Presentation: Execute your auto-scroll macro. Expand the WPS Spreadsheet window to full screen to display your data cleanly on the TV.

Frequently Asked Questions
Can I auto-scroll an Excel sheet without using VBA macros?
No, Excel does not have a native auto-scroll or presentation slideshow feature. You must use VBA macros, a third-party add-in, or recreate the dashboard in a dedicated presentation tool like PowerPoint.
Why does my macro stop when the workbook updates from SharePoint?
SharePoint auto-saving or online data refreshes can interrupt VBA execution. To prevent this, check out the file or open it in the desktop application with exclusive read-only access for the display screen.
How do I make the macro start automatically when the file opens?
You can trigger the macro automatically by placing your loop code inside the 'Workbook_Open()' event in the 'ThisWorkbook' module of the VBA Editor.




