TransferSpreadsheet Method

P

Pap

I am trying to use the TransferSpreadsheet method in a pretty basic way, but
I want the FileName element to be a variable where the User picks up the file
from an explorer box (in the same way that ImportHyperlink kind of works). I
know that I need to give the directory a string name and insert this name
into the method, but I don't know what the code is to create that string
directory. Can someone help please?

Thanks,

Paul
 
O

orange via AccessMonster.com

Pap said:
I am trying to use the TransferSpreadsheet method in a pretty basic way, but
I want the FileName element to be a variable where the User picks up the file
from an explorer box (in the same way that ImportHyperlink kind of works). I
know that I need to give the directory a string name and insert this name
into the method, but I don't know what the code is to create that string
directory. Can someone help please?

Thanks,

Paul
You might want to look at this
http://msdn.microsoft.com/en-us/lib...).aspx#odc_offilesfolders_thefiledialogobject
 
O

orange via AccessMonster.com

Pap said:
I am trying to use the TransferSpreadsheet method in a pretty basic way, but
I want the FileName element to be a variable where the User picks up the file
from an explorer box (in the same way that ImportHyperlink kind of works). I
know that I need to give the directory a string name and insert this name
into the method, but I don't know what the code is to create that string
directory. Can someone help please?

Thanks,

Paul
You might want to look at this
http://msdn.microsoft.com/en-us/lib...).aspx#odc_offilesfolders_thefiledialogobject
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top