sorry for how lame i am, but if you mean to check ActiveX Data Objects then i don't have it in tools>references and if i try to check "active directory types" for instance it gives me this error "Error in loading DLL" and it gives me this mistake if i try to check anything starting with "active...".
it turned out that on the computer that it'll be used there is no MS Query installed and i'm supposed not to use it, so if you know another way i'll be very thankful, if not - i have no idea what i'm going to do...
OK i read it several times and i don't know how to combine Application.GetOpenFileName Method with it... i don't know how it should look like in VBA at all...
i thought that Bong's code was perfect, but then i noticed that it opens it as another document, but i need it to be in the current one starting in the selected cell and since i don't know how big will be desired document or if it'll have a table in it i can't use SkipVought's reply too...
Hi,
i'm new to VBA and i really need some help with this. I have a User Form with a button which should open excel file(which the user must select via Application.FileDialog(msoFileDialogOpen) into excel) and i have absolutely no idea how to do that. I'll be very thankful for any help :)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.