When changing the print voice number to keep a copy or send a copy in email automaticly?

TheUninvited

New Member
Joined
May 21, 2016
Messages
14
As the title says i would like to copy or i mostly prefer to sent by email (a screenshot) or mail the excel to a specific email when i automatically increase the print voice number through a macro.

So how is that possible or if there is a similar way about doing this, we want to store the data somewhere because when something happens we want to know which client was it and so on. It would be nice to keep it store on email with a date on it.


This is the code i am using to automatically increase the number of print voice and cleaning some cells.

Code:
Sub printvoice()'
'  Ctrl+q
'
ActiveSheet.Unprotect
    Range("C10").Select
    ActiveCell.FormulaR1C1 = ActiveCell.FormulaR1C1 + 1
ActiveWindow.SelectedSheets.PrintOut Copies:=2


    Range("G9").ClearContents
    Range("G18").ClearContents
ActiveSheet.Protect
End Sub

Thanks for your time.

Crosspost:http://www.excelforum.com/showthread.php?t=1142371&p=4404579#post4404579
 
Last edited:

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,215,332
Messages
6,124,313
Members
449,153
Latest member
JazzSingerNL

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