unluckyuser
New Member
- Joined
- Jan 12, 2025
- Messages
- 10
- Office Version
- 2019
- Platform
- Windows
I need to input user discussions of a patient by a nurse. The problem with a textbox is that when you press enter, it doesn't go down to the next line, instead, it moves to the next control.
What I need to do is something like this:
"
Jan 14, 7p.
Patient denies a/d/hi/si/avh. Med complaint
States he is hearing voices telling him to jump
from the window. Pacing floors
Call from mother who says this has been
going on for 3 days."
Then the next day, I need to retrieve this in a text box and allow typing of the next assessment, so we get several days of assessments in the box, the results of which are saved in a worksheet file. The problem I'm having is when you press the enter key, the textbox control doesn't end a sentence with a carriage return and move down for more typing. What it does is go to the next control.
What is needed is to continue the next day. VBA needs to pull up the jan 14 assessment, and allows the next assessment to be added, so you might end up with something like this:
Jan 14, 7p.
Patient denies a/d/hi/si/avh. Med complaint
States he is hearing voices telling him to jump
from the window. Pacing floors
Call from mother who says this has been
going on for 3 days."
Jan 15 7p.
Patient states he is no longer hearing voices.
Med selective. Refused vistaril. WAnts stuffed
dog from his home. endorses anxiety of 6
Depression of 8.
States he is waiting for his visit with Dr.
Smith. etc etc.
Jan 16
on and on, etc.
over a few days, you might have several assessments that can be scrolled through while adding the next assessment. So it's a growing narrative. The textbox is loaded with it when the patient is edited. basically, I need the text box to hold the text and wordwrap within the box. I just need it to process carriage returns and when the user is finished editing, the can press the "save assessment" button, so it's saved to the data spread sheet.
Sorry if I've been unclear. Thanks!
What I need to do is something like this:
"
Jan 14, 7p.
Patient denies a/d/hi/si/avh. Med complaint
States he is hearing voices telling him to jump
from the window. Pacing floors
Call from mother who says this has been
going on for 3 days."
Then the next day, I need to retrieve this in a text box and allow typing of the next assessment, so we get several days of assessments in the box, the results of which are saved in a worksheet file. The problem I'm having is when you press the enter key, the textbox control doesn't end a sentence with a carriage return and move down for more typing. What it does is go to the next control.
What is needed is to continue the next day. VBA needs to pull up the jan 14 assessment, and allows the next assessment to be added, so you might end up with something like this:
Jan 14, 7p.
Patient denies a/d/hi/si/avh. Med complaint
States he is hearing voices telling him to jump
from the window. Pacing floors
Call from mother who says this has been
going on for 3 days."
Jan 15 7p.
Patient states he is no longer hearing voices.
Med selective. Refused vistaril. WAnts stuffed
dog from his home. endorses anxiety of 6
Depression of 8.
States he is waiting for his visit with Dr.
Smith. etc etc.
Jan 16
on and on, etc.
over a few days, you might have several assessments that can be scrolled through while adding the next assessment. So it's a growing narrative. The textbox is loaded with it when the patient is edited. basically, I need the text box to hold the text and wordwrap within the box. I just need it to process carriage returns and when the user is finished editing, the can press the "save assessment" button, so it's saved to the data spread sheet.
Sorry if I've been unclear. Thanks!