sorry to ask so many questions but i tend to do a lot and then get stuck.
The latest problem is
I am creating an install file of sorts ( Changing a line of code to point to a file is beyond some people and therefore this is required).
I call a C++ program from within my macro. I have to specify the location of this file in the code. However this will more than likely have to be changed for every new computer that it is put on - fine as long as I am doing it - but I cant be there all the time. To simplify things I have made the location of the code line very clear but to improve m,y program I would like a sort of install file.
This will run once and once only - I think I have sorted this bit but have hit a brick wall when it comes to selecting the file location. I want to open a file dialog or perhaps a user form that will allow the user to browse for the C++ program and record its location which will then be used for the remainder of the programs days. I wanted something sort of like the file save dialog to look at but cant find anything that would suit. So I went to userforms but again how do I bring up a browse function? The easiest way I thought would be a message box but again too much work for people to type in anything. Does anyone have any ideas?
Thanks
Andrew299
The latest problem is
I am creating an install file of sorts ( Changing a line of code to point to a file is beyond some people and therefore this is required).
I call a C++ program from within my macro. I have to specify the location of this file in the code. However this will more than likely have to be changed for every new computer that it is put on - fine as long as I am doing it - but I cant be there all the time. To simplify things I have made the location of the code line very clear but to improve m,y program I would like a sort of install file.
This will run once and once only - I think I have sorted this bit but have hit a brick wall when it comes to selecting the file location. I want to open a file dialog or perhaps a user form that will allow the user to browse for the C++ program and record its location which will then be used for the remainder of the programs days. I wanted something sort of like the file save dialog to look at but cant find anything that would suit. So I went to userforms but again how do I bring up a browse function? The easiest way I thought would be a message box but again too much work for people to type in anything. Does anyone have any ideas?
Thanks
Andrew299