![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Dallas, TX
Posts: 312
|
OK what's wrong with this? I have a checkbox on a sheet called Splash.
'print? Worksheets("Splash").Select If CheckBox("PBranch").Value = True Then Worksheets("Report").Print End If |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hi
Worksheets("Report").Print Should be Worksheets("Report").PrintOut Tom |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Dallas, TX
Posts: 312
|
Hi TsTom,
Thanks, that was 1 problem solved, but it still craps out at the CheckBox reference. Any ideas? Steve |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Is the name of your checkbox "PBranch"?
If so: If PBranch.Value = True Then Tom |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Dallas, TX
Posts: 312
|
Yes! Thank you TsTom. I believe that will work. I don't have a printer around now, but that's the fix. Thanks.
Steve |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|