Forum Discussion
wcdf00
Oct 30, 2019Copper Contributor
How to print out all item inside the drop down box (picture included)
Hello all, I am new here. Last few years I search through online to seek for a solution to auto print out all the option included in a drop down list ( which the content will change based on the drop...
- Oct 31, 2019
wcdf00 YOu could use a macro like this to print all items in the list:
Sub PrintAll() Dim lCt As Long With ActiveSheet.DropDowns("Drop Down 4") For lCt = 1 To .ListCount .ListIndex = lCt If Len(.List(.Value)) > 0 Then ActiveSheet.PrintOut End If Next End With End Sub
JKPieterse
Oct 31, 2019Silver Contributor
wcdf00 YOu could use a macro like this to print all items in the list:
Sub PrintAll()
Dim lCt As Long
With ActiveSheet.DropDowns("Drop Down 4")
For lCt = 1 To .ListCount
.ListIndex = lCt
If Len(.List(.Value)) > 0 Then
ActiveSheet.PrintOut
End If
Next
End With
End Subwcdf00
Nov 03, 2019Copper Contributor
JKPieterse Thanks, will try to apply it tomorrow. Thank you so much.