Premium Only Content
Excel List Box to Display & Print Multiple Sheets as ONE Print Job with VBA
May 2, 2019 Excel VBA & Macros Tutorials
In this Excel VBA & macros tutorial, learn how to automatically display all worksheets in an Excel ActiveX List Box and print multiple sheets as one print job. You can also use the same code to print preview multiple worksheets in one Excel print preview window.
★ Complete Excel VBA and macros course: https://courses.xelplus.com/p/excel-vba-excel-macros
This VBA tutorial builds on the a previous video where we displayed all worksheets in an Excel ActiveX Combo Box - selecting a sheet name from the combo box, sent the user to the respective sheet.
This time we will be using an ActiveX ListBox to allow the user to print the selected sheets in one go. We will use the Excel Worksheet Activate event to automatically populate the list of sheet names in the List Box.
We will then use the VBA For Next Loop to create a string array of the sheet names that were selected. To do this, we will use the VBA redim preserve command.
Finally we assign a command button (and later an icon) to run the macro once the user clicks it.
Aside from this, you will also learn how to debug your macros by stepping into the VBA code and using the locals window. You also learn about VBA's object library and how you can search for specific objects to learn which methods, properties and events are associated with them.
⯆ DOWNLOAD the workbook here: https://www.xelplus.com/list-box-to-print-multiple-sheets-excel-vba/
LINKS to related videos - Excel ActiveX Combo Box to Select Sheets with VBA: https://rumble.com/v2u8htm
★ My Online Excel Courses ► https://courses.xelplus.com
✉ Subscribe & get my TOP 10 Excel formulas e-book for free
https://www.xelplus.com/free-ebook/
EXCEL RESOURCES I Recommend: https://www.xelplus.com/resources/
Get Office 365: https://microsoft.msafflnk.net/15OEg
Microsoft Surface: https://microsoft.msafflnk.net/c/1327040/451518/7593
GEAR
Camera: https://amzn.to/2FLiFho
Screen recorder: http://techsmith.pxf.io/c/1252781/347799/5161
Microphone: https://amzn.to/2DVKstA
Lights: http://amzn.to/2eJKg1U
More resources on my Amazon page: https://www.amazon.com/shop/leilagharani
Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#MsExcel #ExcelVBA #LeilaGharani
-
17:19
SLS - Street League Skateboarding
17 days agoTop Moments from the Men’s Super Crown Final! Nyjah Huston, Giovanni Vianna and Gustavo Ribeiro 👑
39.2K -
LIVE
Major League Fishing
3 days agoLIVE! - Bass Pro Tour: Stage 1 - Day 3
734 watching -
47:00
vinndoggradiousa
4 days agoBYE LEGACY MEDIA guest/ Sam Anthony of YourNews.com
1.37K -
13:55
Clownfish TV
14 hours agoOrcs REMOVED from Dungeons & Dragons New Monster Manual?!
1.79K4 -
15:38
Chris From The 740
5 hours ago $0.41 earnedThe EAA Girsan Match X 2311 : Premium Features, Unbeatable Value!
6.62K3 -
14:23
Degenerate Jay
2 hours ago $0.09 earnedPeople Forgot What Metal Gear Solid Is?
3.47K3 -
1:01:23
FamilyFriendlyGaming
16 hours ago $3.23 earnedCat Quest III Episode 14
23.5K -
3:16:59
RG_GerkClan
4 hours ago🔴LIVE - Dominating One Raid at a Time - Escape From Tarkov - Gerk Clan
22K -
1:49:43
Game On!
13 hours ago $1.95 earnedNFL Experts Top 10 Super Bowl Props!
19.2K2 -
28:31
SB Mowing
1 day agoSiblings FEUD went so far the grass grew TALLER THAN THE HOUSE
72.1K11