Բաց թողնել հիմնական բովանդակությունը

Ինչպե՞ս ստանալ հուշում կամ հաստատում նախքան Outlook- ում էլ-նամակներ ուղարկելը:

Բազմիցս Դուք էլ-նամակ եք ուղարկել և հասկացել, որ կարոտում եք ինչ-որ կարևոր բանի, կամ էլ մի քանի վայրկյան անց էլ. Ինչպե՞ս խուսափել Outlook- ում խայտառակ էլ-նամակ ուղարկելուց: Իրականում, Outlook- ում Ուղարկել կոճակը սեղմելուց հետո կարող եք կրկին հաստատել էլփոստի ուղարկումը: Այս հոդվածի մեթոդը կարող է օգնել ձեզ ցույց տալ խնդիրը:

Ստացեք հուշում կամ հաստատում նախքան VBA կոդով նամակներ ուղարկելը


Ստացեք հուշում կամ հաստատում նախքան VBA կոդով նամակներ ուղարկելը

Հաջորդ VBA կոդը կարող է օգնել ձեզ վերահաստատել էլփոստի ուղարկումը Outlook- ում Send կոճակը սեղմելուց հետո: Խնդրում եմ, արեք հետևյալ կերպ.

1. Սեղմեք ալտ + F11 բացել ստեղները Microsoft Visual Basic հավելվածների համար պատուհան.

2. Մեջ Microsoft Visual Basic հավելվածների համար պատուհանը, խնդրում ենք կրկնակի սեղմել ՝ բացելու համար ԱյսOutlookSession- ը ծածկագրի պատուհան, այնուհետև VBA կոդը ներքևում պատճենեք ծածկագրի պատուհանում:

VBA կոդ. Outlook- ում էլ-նամակներ ուղարկելուց առաջ ստացեք հաստատում

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim xPrompt As String
Dim xOkOrCancel As Integer
On Error Resume Next
xPrompt = "Do you want to continue sending the email?"
xOkOrCancel = MsgBox(xPrompt, vbOKCancel)
If xOkOrCancel <> vbOK Then
    Cancel = True
End If
End Sub

3. Սեղմեք ալտ + Q ստեղները փակելու համար Microsoft Visual Basic հավելվածների համար պատուհան.

Այսուհետ, երբ դուք հարվածեք ուղարկել կոճակ Outlook-ում էլփոստ ուղարկելու համար, հաստատման երկխոսության տուփ կհայտնվի, ինչպես ցույց է տրված ստորև նշված սքրինշոթը: Սեղմել OK այս նամակն ուղարկելու համար սեղմեք վերացնել շարունակելու նամակ գրել:

Գրասենյակի արտադրողականության լավագույն գործիքները

🤖 Kutools AI օգնականՀեղափոխություն կատարել տվյալների վերլուծության հիման վրա՝ Խելացի կատարում   |  Ստեղծեք ծածկագիր  |  Ստեղծեք հատուկ բանաձևեր  |  Վերլուծել տվյալները և ստեղծել գծապատկերներ  |  Invoke Kutools-ի գործառույթները...
Հանրաճանաչ հատկություններ: Գտեք, ընդգծեք կամ նույնականացրեք կրկնօրինակները   |  Deleteնջել դատարկ շարքերը   |  Միավորել սյունակները կամ բջիջները՝ առանց տվյալների կորստի   |   Կլոր առանց բանաձևի ...
Super Փնտրել: Բազմաթիվ չափանիշների VLookup    Բազմակի արժեք VLookup  |   VLookup բազմաթիվ թերթերում   |   Fuzzy Փնտրել ....
Ընդլայնված բացվող ցուցակ: Արագ ստեղծեք բացվող ցուցակը   |  Կախված բացվող ցուցակ   |  Բազմակի ընտրություն Drop Down ցուցակ ....
Սյունակի կառավարիչ: Ավելացրեք որոշակի քանակությամբ սյունակներ  |  Տեղափոխել սյունակները  |  Փոխարկել թաքնված սյունակների տեսանելիության կարգավիճակը  |  Համեմատեք միջակայքերը և սյունակները ...
Առանձնահատկություններ: Ցանցի կենտրոնացում   |  Դիզայնի տեսք   |   Մեծ Formula Bar    Աշխատանքային գրքույկի և թերթիկների կառավարիչ   |  Ռեսուրսների գրադարան (Ավտոմատ տեքստ)   |  Ամսաթիվ ընտրող   |  Միավորել աշխատանքային թերթերը   |  Գաղտնագրել/գաղտնազերծել բջիջները    Ուղարկեք նամակներ ըստ ցանկի   |  Սուպեր զտիչ   |   Հատուկ զտիչ (զտել թավ/շեղ/շեղված...) ...
Լավագույն 15 գործիքների հավաքածու12 Տեքստ Գործիքներ (Ավելացրեք տեքստ, Հեռացնել նիշերը, ...)   |   50+ Աղյուսակ Տեսակներ (Գանտի աղյուսակը, ...)   |   40+ Գործնական Բանաձեւեր (Հաշվարկել տարիքը ՝ ելնելով ծննդյան տարեդարձից, ...)   |   19 միացում Գործիքներ (Տեղադրեք QR կոդ, Տեղադրեք նկար ուղուց, ...)   |   12 Փոխարկում Գործիքներ (Բառեր համարներ, Արտարժույթի փոխակերպումը, ...)   |   7 Միաձուլում և պառակտում Գործիքներ (Ընդլայնված կոմբինատ տողեր, Պառակտված բջիջներ, ...)   |   ... եւ ավելին

Լրացրեք ձեր Excel-ի հմտությունները Kutools-ի հետ Excel-ի համար և փորձեք արդյունավետությունը, ինչպես երբեք: Kutools-ը Excel-ի համար առաջարկում է ավելի քան 300 առաջադեմ առանձնահատկություններ՝ արտադրողականությունը բարձրացնելու և ժամանակ խնայելու համար:  Սեղմեք այստեղ՝ Ձեզ ամենաշատ անհրաժեշտ հատկանիշը ստանալու համար...

Նկարագրություն


Office Tab- ը Tabbed ինտերֆեյսը բերում է Office, և ձեր աշխատանքը շատ ավելի դյուրին դարձրեք

  • Միացնել ներդիրներով խմբագրումը և ընթերցումը Word, Excel, PowerPoint- ով, Հրատարակիչ, Access, Visio և Project:
  • Բացեք և ստեղծեք բազմաթիվ փաստաթղթեր նույն պատուհանի նոր ներդիրներում, այլ ոչ թե նոր պատուհաններում:
  • Բարձրացնում է ձեր արտադրողականությունը 50%-ով և նվազեցնում մկնիկի հարյուրավոր սեղմումները ձեզ համար ամեն օր:
Comments (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Clicking on cancel , sends the message
This comment was minimized by the moderator on the site
Hi, I get an error message when I run this VBA code.The error is "Compile error: Sub or function not defined."
This comment was minimized by the moderator on the site
Hi the code is giving me an error saying "Compile error: Sub or Function not defined."What would be the cause for this?
This comment was minimized by the moderator on the site
The reason it doesn't work when you restart Outlook is a secuirty one - the macro is not trusted by default, you have to self certify it. Follow the instructions on this site and it will all work fine after every restart... https://www.howto-outlook.com/howto/selfcert.htm
This comment was minimized by the moderator on the site
The solution worked for me once but I couldn't get it to work for me again. Any suggestions how to do that?
This comment was minimized by the moderator on the site
The reason it doesn't work when you restart Outlook is a secuirty one - the macro is not trusted by default, you have to self certify it. Follow the instructions on this site and it will all work fine after every restart... https://www.howto-outlook.com/howto/selfcert.htm
This comment was minimized by the moderator on the site
This worked one time, after tha never worked again.
This comment was minimized by the moderator on the site
The reason it doesn't work when you restart Outlook is a secuirty one - the macro is not trusted by default, you have to self certify it. Follow the instructions on this site and it will all work fine after every restart... https://www.howto-outlook.com/howto/selfcert.htm
This comment was minimized by the moderator on the site
Hi There,

For some reason, mine, it works well only for one day. The codes don't seem to work anymore the next day, although those codes remained intact,

Anyone has such experience and know why?

Thanks.
This comment was minimized by the moderator on the site
The reason it doesn't work when you restart Outlook is a secuirty one - the macro is not trusted by default, you have to self certify it. Follow the instructions on this site and it will all work fine after every restart... https://www.howto-outlook.com/howto/selfcert.htm
This comment was minimized by the moderator on the site
Seeing same issue, any desired solution?
This comment was minimized by the moderator on the site
Same issue, it doesn't work for next day or after relaunching outlook, any solution?
This comment was minimized by the moderator on the site
Hi, i've got the same experience. Not sure yet how to solve this, i'm very new to VBA.
Would like to hear from you if you found a fix.
This comment was minimized by the moderator on the site
Hello! Very useful and it works perfectly.

Is it possible to adjust the code so that it only pops up when there is an attachment? Similarly, is it possible to adjust it so it prompts the pop-up only when the message is sent externally (not to people of the company)?
This comment was minimized by the moderator on the site
Hi There

Is it possible to get a message to come up only when an attachment is present, and only when sent externally?

Thank you very much!

Daniel
This comment was minimized by the moderator on the site
If you want the pop-up to only happen when you send to several emails, i.e. >10, how do you do that?

Oh and thanks, it works like a treat.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations