A pop Up Text box with user form to write quick notes and save in Outlook

jonnathanjons
Lounger
Posts: 37
Joined: 13 Apr 2023, 09:08

A pop Up Text box with user form to write quick notes and save in Outlook

Post by jonnathanjons »

Hello Experts ,

I use Outlook 365 extensively and It will be helpful if there is a Text box which can be popped open to write quick notes or address or anything else and I can save and close. I wish if someone can help me with the vba to create this text box which should have a "Save & Close" and "Cancel" Button.

User avatar
HansV
Administrator
Posts: 78416
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by HansV »

Did you know that Outlook has a built-in Notes feature?

S2390.png
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

User avatar
StuartR
Administrator
Posts: 12602
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by StuartR »

I had never noticed that, thank you Hans
StuartR


jonnathanjons
Lounger
Posts: 37
Joined: 13 Apr 2023, 09:08

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by jonnathanjons »

Thank You I did not know that . Is there anyway I can populate this note from the home menu> Mails using any command button from ribbon.In that way it will be quick to open. kindly share if any vba script which can work on this

User avatar
HansV
Administrator
Posts: 78416
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by HansV »

You could create this macro, and assign it to a button:

Code: Select all

Sub CreateNote()
    CreateItem(olNoteItem).Display
End Sub
Best wishes,
Hans

jonnathanjons
Lounger
Posts: 37
Joined: 13 Apr 2023, 09:08

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by jonnathanjons »

Thank you for the response. I did as you provided.so a new note opened and I wrote few lines and closed it. However when I opened it again I do not see the lines I wrote. Its opening a new note. I would like to have the same note opened every time I click this button. How do I refer this note to the one I added notes already and add more lines in the same note itself. That's the purpose for me to have a quick note page added in the outlook home page to type some notes ,ph no or anything else and retrieve it quickly ... thanks again as always .Its been a pleasure knowing you.

User avatar
HansV
Administrator
Posts: 78416
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by HansV »

Here is a new macro.

Code: Select all

Sub DisplayNote()
    Dim fld As Folder
    Dim itms As Items
    Set fld = Session.GetDefaultFolder(olFolderNotes)
    Set itms = fld.Items
    If itms.Count = 0 Then
        CreateItem(olNoteItem).Display
    Else
        itms(1).Display
    End If
End Sub
Best wishes,
Hans

jonnathanjons
Lounger
Posts: 37
Joined: 13 Apr 2023, 09:08

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by jonnathanjons »

Thank You. It really works as expected. A handy Text box like this is an indispensable widget in outlook

PJ_in_FL
5StarLounger
Posts: 1098
Joined: 21 Jan 2011, 16:51
Location: Florida

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by PJ_in_FL »

I mean, maybe someone at Microsoft could come up with something that could contain notes, images, you know, just about anything like a scrap file. I wonder what it would be called if they did?
OneNote.png
You do not have the required permissions to view the files attached to this post.
PJ in (usually sunny) FL

User avatar
HansV
Administrator
Posts: 78416
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by HansV »

“Before you play two notes, learn how to play one note, y’know? And don’t play one note unless you’ve got a reason to play it.” ~ Mark Hollis †
Best wishes,
Hans

jonnathanjons
Lounger
Posts: 37
Joined: 13 Apr 2023, 09:08

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by jonnathanjons »

You are correct. I wish someone can add it as a widget. There are several widgets available but not this simple widget.

User avatar
Leif
Administrator
Posts: 7208
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by Leif »

jonnathanjons wrote:
11 May 2023, 07:20
You are correct. I wish someone can add it as a widget. There are several widgets available but not this simple widget.
If you mean you want OneNote added to Outlook, click on the More Apps icon:
    
x.jpg
You do not have the required permissions to view the files attached to this post.
Leif

jonnathanjons
Lounger
Posts: 37
Joined: 13 Apr 2023, 09:08

Re: A pop Up Text box with user form to write quick notes and save in Outlook

Post by jonnathanjons »

Hello Leif, thanks for the response. I was wishing for a widget which can add a button to the ribbon which can launch this note . with vba script provided by HansV.