unluckyuser
New Member
- Joined
- Jan 12, 2025
- Messages
- 10
- Office Version
- 2019
- Platform
- Windows
Hey everyone! I'm working on a vba application that contains records of patients. Each record has a field in it which is an image. The image can only be posted from the windows clipboard, as it cannot be a file. My idea is for the user to clip an image into the clipboard (the patient picture), which will then be posted to the excel sheet as a field in a record when the user clicks the "paste" button in a form. Clipping is the only way the user can access the patient's picture.
Using VB forms, it seems one of the attributes of an image is that it is from an image file, so I apparently cannot have the clipboard contents inserted directly in the image control. I cannot create files other than the spreadsheet file. I want to have the record editable with a form. The question is how can I work with the image within a VBA form? When creating a new patient record, the user needs to be able to enter an image. If they post it in the windows clipboard, I can read the image out of that into a cell easily enough. The user also needs to be able to change the image or delete it.
I feel like I'm stepping on my on tongue with this convoluted post. Any suggestions, I'd be grateful .
Using VB forms, it seems one of the attributes of an image is that it is from an image file, so I apparently cannot have the clipboard contents inserted directly in the image control. I cannot create files other than the spreadsheet file. I want to have the record editable with a form. The question is how can I work with the image within a VBA form? When creating a new patient record, the user needs to be able to enter an image. If they post it in the windows clipboard, I can read the image out of that into a cell easily enough. The user also needs to be able to change the image or delete it.
I feel like I'm stepping on my on tongue with this convoluted post. Any suggestions, I'd be grateful .