Automate printing with subtotals-plan trouble shooting.

dandungan

New Member
Joined
Apr 8, 2013
Messages
43
Hi MrExcel,

I'm asking for an alternate plan, because I'm unable to implement the plan below.

The plating department uses an old prodigy database to print hard copies of today's jobs. The database is so old we are unable to find a print driver that works on our network.

The plating manager asked me to emulate this data capture/print function.

Here's my plan that I'm unable to implement.

In Excel 2003 on Windows XP pro:

1. Collect data with userforms designed to appear and function as the prodigy database:
1. Store the data in sheet invoice data.
2. Filter data by date
A. By Date for daily report
B. By Month for Monthly Report
3. Clear Sheet DataForPrint to prepare for new data
3. Copy filtered data to DataForPrint
4. Apply Subtotals on Plating Code.
5. Print

My plan fails now because the autofilter part returns no data.

I have posted this, but I'm unable to get the autofilter to work.

I'm seeking suggestion for alternate approaches to print daily data with subtotals.

Thanks.

Dan

Data Sample:

Plating CodeJob NumberJob DateShipQuantityUnit PriceAdditional ChargesTotalAmountMonthYear
55694751-0023/30/201340.803.23
55695346-0023/30/20131900.601143
55693856-0033/30/201390.605.43
55694676-0033/30/201340.602.43
55691659-0033/30/201340.401.63
55689949-0023/30/2013260.6015.63
55694661-0023/30/2013210.6012.63
55689443-0023/30/2013320.6019.23
55694741-0013/30/201320.400.83
55694579-0013/30/2013150.6093
55693599-0023/30/201360.603.63
55694695-0023/30/2013150.6093
55694830-0013/30/2013250.40103
55694850-0013/30/2013500.60303
55690334-0073/30/20131760.60105.63
55692592-0033/30/201340.602.43
55693628-0023/30/201341.204.83
55695246-0013/30/201320.801.63
55695422-0023/30/201310.800.83
55694826-0023/30/201310.800.83
55695417-0023/30/2013130.607.83
55693716-0013/30/20131120.6067.23
55691019-0103/30/201320.901.83
55691018-0043/30/201320.901.83
55693881-0023/30/201320.801.63
55694678-0013/30/20135400.402163
55695461-0013/30/2013550.60333
55693435-0013/30/2013500.60303
55694656-0013/30/2013500.60303
55692998-0023/30/2013150.6093
55693916-0033/30/2013200.90183
55694849-0023/30/2013390.6023.43
55694702-0013/30/2013680.6040.83
55694710-0023/30/2013530.9047.73
55692452-0033/30/2013380.6022.83
55693436-0013/30/2013100.9093
55693607-0023/30/20131020.6061.23
55694848-0023/30/201360.603.63
56693859-0013/30/20132500.450112.53
56694099-0013/30/20132950.450132.753
56695222-0023/30/2013200.45093
56693861-0013/30/2013150.304.53
55694709-0013/30/2013250.60153
56684710-0023/30/2013320.45014.43
56693849-0013/30/2013500.60303
51695222-0043/30/2013200.3063
3693805-0053/30/201340.602.43
3694962-0013/29/201310.400.43
3687402-0013/29/20131430.3042.93
21687402-0013/29/20131430.3042.93
3694962-0013/29/201310.400.43
3694820-0013/29/201340.401.63
3693589-0053/29/201320.400.83
3694707-0013/29/2013850.20173
3693805-0063/29/201340.401.63
3693858-0023/29/201330.200.63
1675183-0013/29/2013500.40203
1693934-0043/29/2013900.60543
1693936-0013/29/20135350.402143
3692454-0043/29/2013110.202.23
51693509-0023/29/2013100.3033
56692970-0023/29/201350.6033
56693460-0013/29/2013150.4506.753
56693061-0053/29/2013500.30153
56693949-0023/29/2013180.4508.13
56693509-0013/29/2013100.4043
56690181-0013/29/2013100.6063
56694652-0043/29/2013410.3012.33
56692701-0023/29/201350.4502.253
48695187-0043/29/201320.601.23
48695186-0053/29/201310.4500.453
48695186-0043/29/201310.4500.453
48695186-0063/29/201310.4500.453
48695187-0023/29/201320.601.23
48695186-0033/29/201310.4500.453
48695186-0023/29/201310.4500.453
56690932-0013/29/2013480.45021.63
56693061-0013/29/2013250.307.53
56693061-0043/29/2013250.45011.253
56693460-0023/29/2013200.45093
56693821-0023/29/2013150.4506.753
56695339-0053/29/201340.4501.83
56695339-0023/29/201320.4500.93
56695339-0013/29/201320.4500.93
56695339-0063/29/201320.4500.93
56695339-0043/29/201320.300.63
51695339-0033/29/201320.300.63
56692969-0013/29/201350.4023
56690701-0013/29/201350.4502.253
56693457-0023/29/201310.300.33
57692238-0023/29/2013760.45034.23
56694718-0023/29/2013350.60213
56693120-0023/29/2013100.4504.53
56694652-0023/29/2013410.45018.453
56691484-0013/29/201350.4502.253
56692655-0013/29/201350.4502.253
56692970-0013/29/201350.301.53
56693770-0013/29/2013150.4506.753
56693061-0063/29/2013250.307.53
56675881-0013/29/2013250.45011.253
56690181-0023/29/2013100.4504.53
56690519-0023/29/2013300.45013.53
56692932-0023/29/20131060.45047.73
56693061-0033/29/2013250.307.53
48695187-0073/29/201320.601.23
48695187-0063/29/201310.600.63
56693380-0013/29/20135060.450227.73
56695335-0043/29/201360.603.63
56686113-0023/29/2013370.45016.653
55695369-0033/29/20134060.90365.43
55694677-0043/29/20131060.9095.43
55693453-0013/29/201360.804.83
55695229-0013/29/2013350.60213
55694650-0013/29/2013250.60153
55692081-0023/29/2013140.9012.63
55693881-0023/29/201320.601.23
55695368-0023/29/20137530.60451.83
55694425-0023/29/2013111.6017.63
55688840-0043/29/2013260.9023.43
55689838-0013/29/2013190.6011.43
55694713-0043/29/201390.908.13
55694767-0013/29/2013350.40143
55694780-0033/29/201331.203.63
55694698-0023/29/2013310.6018.63
55695270-0023/29/20138680.90781.23
55694582-0033/29/201350.6033
55693302-0013/29/20131000.60603
55694713-0063/29/2013250.60153
55694580-0043/29/201310.800.83
55693508-0073/29/201320.901.83
55695246-0023/29/201340.803.23
55692526-0053/29/201310.900.93
55694425-0023/29/20131160.6069.63
55695437-0023/29/201390.908.13
55695247-0023/29/2013200.60123
55694775-0013/29/2013440.6026.43
55694425-0023/29/201341.204.83
55.9692020-0053/29/201310.600.63
55695366-0023/29/20131130.6067.83
55694703-0023/29/20132000.601203
55692852-0013/29/2013100.4043
55693716-0023/29/20132240.4089.63
55694267-0013/29/2013450.60273
55694701-0013/29/2013680.6040.83
55693671-0013/29/20131000.40403
55692266-0013/29/2013400.40163
55693005-0043/29/2013140.608.43
55694839-0013/29/2013150.6093
55694361-0013/29/2013200.60123
55695424-0023/29/201370.604.23
55693716-0043/29/20131120.6067.23
55693204-0023/29/2013100.9093
55692926-0073/29/20132010.60120.63
55692449-0033/29/2013260.4010.43
55692452-0053/29/20131300.40523
55691365-0013/29/20134840.40193.63
55694563-0053/29/201310100.404043
55694677-0043/29/2013870.9078.33
55.9695225-0003/29/2013541.6086.43
55691872-0013/29/2013600.60363
55694924-0013/29/2013100.8083
55695368-0013/29/20137530.40301.23
55692783-0013/29/201310060.60603.63
55695347-0023/29/2013450.60273
55693633-0013/29/201390.807.23
55695369-0033/29/20134060.90365.43
56695264-0024/1/201350.6034
10692782-0074/1/201350.301.54
10692777-0024/1/201350.2014
10692776-0024/1/201350.2014
10692771-0014/1/2013240.204.84
10692776-0024/1/2013300.2064
10692775-0024/1/2013250.2054
10692771-0024/1/2013370.207.44
10692778-0024/1/2013250.2054
10695221-0024/1/2013100.2024
10692780-0014/1/2013100.2024
10692779-0024/1/2013100.2024
10692770-0014/1/201340.200.84
10692771-0024/1/2013130.202.64
10692772-0024/1/2013250.2054
10688532-0024/1/201350.301.54
55693432-0024/1/2013710.9063.94
55694990-0024/1/201321.603.24
55694847-0024/1/2013460.6027.64
55694850-0024/1/2013500.60304
55693853-0014/1/20132510.60150.64
55694853-0014/1/2013390.4015.64
55694676-0014/1/201340.602.44
55695136-0014/1/201310.800.84
55680230-0024/1/2013800.90724
55693646-0024/1/201350.904.54
55693856-0014/1/201310.800.84
55692570-0024/1/20134090.60245.44
55695228-0024/1/2013100.6064
55695424-0014/1/201370.402.84
55692463-0014/1/2013120.607.24
55693850-0014/1/20131010.4040.44
55693856-0044/1/2013100.6064
55695495-0014/1/2013110.404.44
55693799-0024/1/20133000.902704
55693799-0024/1/20133000.902704
55693649-0024/1/201311.601.64
55692811-0024/1/201310.800.84
55693856-0054/1/2013210.6012.64
55693856-0024/1/2013200.4084
55695242-0044/1/201350.4024
55694847-0034/1/2013460.6027.64
55693079-0024/1/201370.604.24

<tbody>
</tbody>
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
I was able to stick with the original plan. The autofilter wasn't working because the data from the textbox was the wrong data type. So I created a variable of the correct data type and autofilter completed.
 
Upvote 0

Forum statistics

Threads
1,215,006
Messages
6,122,666
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top