Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2023, 10:51 AM
znaya znaya is offline Feed Word document dropdown lists with csv file? Windows 10 Feed Word document dropdown lists with csv file? Office 2013
Novice
Feed Word document dropdown lists with csv file?
 
Join Date: Dec 2023
Posts: 2
znaya is on a distinguished road
Default Feed Word document dropdown lists with csv file?

Hello all.

I was asked to provide a solution for a nursery home where they need to print the therapeutic scheme (medication and dosage) for patients. I have been thinking of the approach to take and I'd like to have some feedback on my ideas.

The need
Create an easy to fill document with the medication by time of the day (on wake up, breakfast, lunch, dinner...).
There is a global set of medication which may, occasionally, change.


The document needs to be easy to fill (tab navigable?).

[/url]

The ideas
In the beginning I thought of using Excel (would it be easier?) but I think I'll go with Word as no calculations will be needed, at the end only selectable values from dropdown lists are needed.
I thought of storing all the possible selectable medication and dosage in a csv file (that way it would be easily updatable) and to use VBA to read that file, when the Word document is open, create objects and store them in maps. Those maps would be used to populate the dropdown lists for selection.

Example of csv file content:
Code:
Omeprazole,20mg,1
Paracetamol,500mg,1
Paracetamol,1000mg,2
Does this sound a good approach?
Any feedback and ideas would be much appreciated.
Thanks.
Reply With Quote
  #2  
Old 12-11-2023, 01:59 PM
Guessed's Avatar
Guessed Guessed is offline Feed Word document dropdown lists with csv file? Windows 10 Feed Word document dropdown lists with csv file? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I think you should ask the nurses there to see what they think they need to see. I'm sure they have a standard chart that they are all familiar with. If we come up with something else, no matter how clever, they won't want to adapt to it.

Once you know what they expect as their output, a solution can be arrived at to streamline the data entry to produce the required output.

As a matter of interest, here in Australia our elderly folks tend to live in Nursing homes and young children will be found in a Nursery. I hope they aren't giving Omeprazole to children.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 12-11-2023, 03:10 PM
znaya znaya is offline Feed Word document dropdown lists with csv file? Windows 10 Feed Word document dropdown lists with csv file? Office 2013
Novice
Feed Word document dropdown lists with csv file?
 
Join Date: Dec 2023
Posts: 2
znaya is on a distinguished road
Default

I'm using their current medication chart (which i represent in a simplistic way in the screenshot).
My doubt is not about the output (it will be the same), it is about the implementation.

As I don't have any experience with VBA I'd like to have some feedback in order to develop it in an efficient and elegant way.
Reply With Quote
  #4  
Old 12-11-2023, 04:47 PM
Guessed's Avatar
Guessed Guessed is offline Feed Word document dropdown lists with csv file? Windows 10 Feed Word document dropdown lists with csv file? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I'm not seeing a screenshot in your posts - did you upload one?

If you attach a document that shows what you are trying to achieve then someone may be able to help you. We don't have enough information to make a start yet.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropdown Lists in Word O365 Tryfan Word VBA 1 03-30-2022 03:57 AM
The same cascading dropdown lists several times in a document al9512 Word VBA 1 08-10-2018 04:42 AM
dropdown lists and date picker added to word doc. greg__reynolds Word 3 05-19-2014 12:19 AM
Master document feed through to sub documents helena52 Word 0 03-28-2013 03:12 AM
Word Forms : Dropdown lists wferaera45 Word 0 04-06-2006 03:02 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft