how to auto save and close excel file when clicking hyperlink “send”How to create a macro in Outlook 2010...

How is the partial sum of a geometric sequence calculated?

Are dual Irish/British citizens bound by the 90/180 day rule when travelling in the EU after Brexit?

How are passwords stolen from companies if they only store hashes?

What (if any) is the reason to buy in small local stores?

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Could Sinn Fein swing any Brexit vote in Parliament?

Matrix using tikz package

Probably overheated black color SMD pads

How could an airship be repaired midflight?

PTIJ What is the inyan of the Konami code in Uncle Moishy's song?

How to get the n-th line after a grepped one?

Is there a term for accumulated dirt on the outside of your hands and feet?

Is it possible to stack the damage done by the Absorb Elements spell?

Calculate the frequency of characters in a string

How do hiring committees for research positions view getting "scooped"?

Can other pieces capture a threatening piece and prevent a checkmate?

Bash - pair each line of file

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

Have the tides ever turned twice on any open problem?

What is the English word for a graduation award?

Why didn't Héctor fade away after this character died in the movie Coco?

gerund and noun applications

How to terminate ping <dest> &

Do I need to be arrogant to get ahead?



how to auto save and close excel file when clicking hyperlink “send”


How to create a macro in Outlook 2010 to add the the date to the subject lineExcel 2010 VBA to Hyperlink Active Cell to itself, so it would lead to it's exact location from when that cell is pasted and sent in Outlook e-mailHow to run Sub with parameter in Excel VBA?Excel auto save macroCan Excel automatically convert an entry into a clickable link inside the same workbook?Saving Excel File Based On Cell Data And Then Sending Email Using OutlookClose and restart excel at arbitrary point in running a macro?Excel 2007 Cut and paste formula or value without changing cell formatting - paste options greyed outCreating a hyperlink that references itself and continues to do so when filled downLink send Email to Outlook and Subject is equal to cell value vba













0















I have this code that will automatically fill the Subject: in outlook mail base on the cell value.



Range("G5").Select
ActiveCell.FormulaR1C1 = "=HYPERLINK(""mailto:?subject="" & RC[-6] & "" - "" & RC[-1] ,""send"")"
Selection.AutoFill Destination:=Range("G5:G1500"), Type:=xlFillDefault


My question is, is it possible in macro, that when the user clicked the hyperlink, excel file will automatically save and close it?



If it is possible, how will I add it on my code?



Note: when clicking the hyperlink Send outlook mail will pop out.









share



























    0















    I have this code that will automatically fill the Subject: in outlook mail base on the cell value.



    Range("G5").Select
    ActiveCell.FormulaR1C1 = "=HYPERLINK(""mailto:?subject="" & RC[-6] & "" - "" & RC[-1] ,""send"")"
    Selection.AutoFill Destination:=Range("G5:G1500"), Type:=xlFillDefault


    My question is, is it possible in macro, that when the user clicked the hyperlink, excel file will automatically save and close it?



    If it is possible, how will I add it on my code?



    Note: when clicking the hyperlink Send outlook mail will pop out.









    share

























      0












      0








      0








      I have this code that will automatically fill the Subject: in outlook mail base on the cell value.



      Range("G5").Select
      ActiveCell.FormulaR1C1 = "=HYPERLINK(""mailto:?subject="" & RC[-6] & "" - "" & RC[-1] ,""send"")"
      Selection.AutoFill Destination:=Range("G5:G1500"), Type:=xlFillDefault


      My question is, is it possible in macro, that when the user clicked the hyperlink, excel file will automatically save and close it?



      If it is possible, how will I add it on my code?



      Note: when clicking the hyperlink Send outlook mail will pop out.









      share














      I have this code that will automatically fill the Subject: in outlook mail base on the cell value.



      Range("G5").Select
      ActiveCell.FormulaR1C1 = "=HYPERLINK(""mailto:?subject="" & RC[-6] & "" - "" & RC[-1] ,""send"")"
      Selection.AutoFill Destination:=Range("G5:G1500"), Type:=xlFillDefault


      My question is, is it possible in macro, that when the user clicked the hyperlink, excel file will automatically save and close it?



      If it is possible, how will I add it on my code?



      Note: when clicking the hyperlink Send outlook mail will pop out.







      microsoft-excel vba macros





      share












      share










      share



      share










      asked 5 mins ago









      geegee

      324




      324






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1414927%2fhow-to-auto-save-and-close-excel-file-when-clicking-hyperlink-send%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1414927%2fhow-to-auto-save-and-close-excel-file-when-clicking-hyperlink-send%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...