Wednesday, July 6, 2016

[Solved] Auto email from within a excel file

Auto email from within a excel file

I have a excel file used by various users.
I want this file to be mailed to me every month.
Can i have a prompt or a alert built in which will be activated on the 30th-31st-1st-2nd or 3rd of every month.
When the user saves the file on any of these dates, excel should prompt 'Do you want to email the monthly report to Nikhil?'.
If the user clicks 'Yes', the mail should be sent (using microsoft outlook).
If no, the file is saved.
Once the user selects the
'yes' options during any of these days, the prompt should not come in the remaining days.
(i.e.
if user accepts the prompt on 1st and sends the file, the prompt should not appear on 2nd & 3rd).
Please note i have a workbook level macro that automatically hides all sheets except the first sheet when the user saves the file
Nikhil

Keys to the Problem Auto email from within a excel file

Download Error Fixer (Free)

Right, i forgot to create the name "oName".
Please, execute the sub (only once) :
Sub test()
ThisWorkbook.Names.Add "oName", RefersTo:=0
End Sub
There will be no conflict between the two subs.
The name "oName" is set to 1 when the mail is sent.
The mail is sent only if "oName" = 0.
oName is reset to 0 if it is equal to 1 and day >3 and day < 30.
So if the mail is sent on 30th, oName will be set to 1, preventing another message to display.
Oname will be reset on 4th.
Daniel

  • Download the Microsoft Windows ISO (installation device) from the following website:
  • http://www.microsoft.com/en-us/software-download/windows10
  • Users must select the appropriate ISO, either 32 bit or 64 bit, depending upon their individual computer.
  • Extract the ISO file to a separate USB device or burn the program to a compact disc.
  • Run the Microsoft Windows 10 upgrade directly from the software that you have thus created.

Another Safe way to Repair the Problem: Auto email from within a excel file:

How to Fix Auto email from within a excel file with SmartPCFixer?

1. Click the button to download SmartPCFixer . Install it on your computer.  Open it, and it will scan your system. The errors will be shown in the scan result.

2. After the scan is done, you can see the errors and problems need to be fixed. Click Fix All.

3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.


Related: AMD Radeon HD 7800M Win8 not working [Anwsered],I can access the internet, get on facebook and get to hotmail, but I can't play games on facebook and I can't open or respond to my e-mails,I keep getting this Media Player error when I log on my computer. [Anwsered],[Anwsered] System Hanging on shutdown and restart,Unable to get the Vlookup property of the WorksheetFunction class,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22)
Read More: Autohide favorites tool bar. Tech Support,Troubleshoot:AVG shows corrupt c\\windows\\sysWOW\\45.dll,Solution to Problem: ATI Radeon 5000 series not working after installing Windows 8 on my Dell Studio 1558,How to Fix - BACKING UP BOOKMARKS AND FAVORITES?,How to Fix - auto startup of \"windows explorer\" on windows start up?,application not found error,any problems in a team where one has Windows XP and the other has Windows 7?,Application/Object-Defined Error,An Excel formula question where hours are totalled and cumulating,Anyone know the hardware email?

No comments:

Post a Comment