

or buttons which need VBA (Visual Basic Applications) for the Macros to. The most common cause for arrow keys not working in Excel is scroll lock being enabled. Are you facing excel files that stop working, loading media files that could not. Particularly security-conscious users can completely disable macros using Excel’s options. Cause of Arrow Keys Not Working in Excel. If it's missing then scroll through all the references until you find the missing one and check it. Click the Record Macro button ( the small circle ) on the VB toolbar to open the. compare your vba references settings to the other user and see what he/she is missing. Note: the secondary email account mentioned here has been added through File > Info > Add Account, and shows up below my primary/personal email account. Macros have the potential to cause damage to your computer and can be the source of macro viruses. Also, I could not change the order of the calculations in lines 54-56.

Here is my first macro: Sub CreateDraft() ' Creating the Outlook email object ("New E-mail"): Dim DraftEmail As MailItem Set DraftEmail = Application.CreateItem(olMailItem) ' Setting secondary account as the sender (assuming it is the 2nd email account configured in Outlook): DraftEmail.SendUsingAccount = (2) ' Filling in subject field with current system date: DraftEmail.Subject = "Daily report " & DateTime.Date ' Filling in the draft template and default signature in HTML format: DraftEmail.Display DraftEmail.HTMLBody = "" + _"Daily Report" + _"Blah blah blah" + DraftEmail.HTMLBody ' Removing automatic line spacing (= Do not add space between paragraphs of the same style): ("Normal").NoSpaceBetweenParagraphsOfSameStyle = True ' Saving the draft: DraftEmail.Save ' Freeing memory: Set DraftEmail = NothingEnd Sub
