richATrichardjones
Technical User
Hello all,
I have a problem with Office VBA. I have happily used VBA within an Excel with forms, functions etc. However my next problem is one I am finding very difficult to solve.
I have two files in a directory; a word file and an excel file. I have an 5 names listed in Excel in cell A1:A5
I want to write a macro in word that will open excel and read in these five values. I want to put them into a combo box on a form Ive created. I know how to do this combobox population part. The bit Im stuck on is opening excel and reading in the five values. Im sure it must be possible but ama bit stuck!
Any help would be appreciated
Thanks in advance
Richard
I have a problem with Office VBA. I have happily used VBA within an Excel with forms, functions etc. However my next problem is one I am finding very difficult to solve.
I have two files in a directory; a word file and an excel file. I have an 5 names listed in Excel in cell A1:A5
I want to write a macro in word that will open excel and read in these five values. I want to put them into a combo box on a form Ive created. I know how to do this combobox population part. The bit Im stuck on is opening excel and reading in the five values. Im sure it must be possible but ama bit stuck!
Any help would be appreciated
Thanks in advance
Richard