Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am not sure if this is possible but here is what I am trying to do.
I have word documents in a directory named corresponding to each state. I want to be able to have the user in an excel document input the State name and when the click a link it opens the corresponding word document associated with the State that they put in. Again I don't know if this is possible. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming you have your sub-directories named after states (two letter
abbreviaiton) in the C:\States direcory and the document name is 'stateabbreviation.doc' like CA.doc, MD.doc etc Then suppose the user enter state abbreviation in A1, you can have this in B1 =HYPERLINK("C:\States\"&A1&"\"&A1&".doc","Enter the State code in A1 and click here") "newguy" wrote: I am not sure if this is possible but here is what I am trying to do. I have word documents in a directory named corresponding to each state. I want to be able to have the user in an excel document input the State name and when the click a link it opens the corresponding word document associated with the State that they put in. Again I don't know if this is possible. Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
That works perfect thank you. I had one more question and do you know
if there is a way to strip of leading and trailing blank spaces. My concern is that if someone was to put a space then the state abbreviation or a space after the abbreviation it breaks the link. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=TRIM(A1) to trim spaces in A1. Do test it out to see how it works...
"newguy" wrote: That works perfect thank you. I had one more question and do you know if there is a way to strip of leading and trailing blank spaces. My concern is that if someone was to put a space then the state abbreviation or a space after the abbreviation it breaks the link. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linking to another file using file reference typed cell | Excel Worksheet Functions | |||
Autoname a save as file from a cell in a read only file | Excel Discussion (Misc queries) | |||
Is it possible to link cell formatting in Excel from file to file | Excel Discussion (Misc queries) | |||
when inserting a file name in a cell how do you remove file type | Excel Worksheet Functions | |||
Saving worksheet in new file with date AND cell value as file name | Excel Discussion (Misc queries) |