PC Review


Reply
Thread Tools Rate Thread

TransferSpreadsheet Method

 
 
Pap
Guest
Posts: n/a
 
      29th Mar 2010
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
 
Reply With Quote
 
 
 
 
Ken Snell
Guest
Posts: n/a
 
      30th Mar 2010
See these articles:

Browse to a single EXCEL File and Export Data to that EXCEL File via
TransferSpreadsheet (VBA)
http://www.accessmvp.com/KDSnell/EXC...#ExpBrowseFile


Browse to a single EXCEL File and Import Data from that EXCEL File via
TransferSpreadsheet (VBA)
http://www.accessmvp.com/KDSnell/EXC...#ImpBrowseFile


--

Ken Snell
http://www.accessmvp.com/KDSnell/



"Pap" <(E-Mail Removed)> wrote in message
news:582321AF-D5AF-493C-8DFA-(E-Mail Removed)...
>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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TransferSpreadsheet method =?Utf-8?B?Q2hyaXM=?= Microsoft Access External Data 3 26th May 2004 02:43 PM
DoCmd.TransferSpreadsheet method question Stuart Microsoft Access External Data 2 20th Apr 2004 07:46 PM
TransferSpreadsheet method D.Mulder Microsoft Access External Data 0 5th Mar 2004 04:38 PM
Specify named range for transferspreadsheet method Shaggles Microsoft Access Reports 1 3rd Mar 2004 09:50 PM
how to rename sht after TransferSpreadsheet method? Rich Microsoft Excel Programming 2 8th Dec 2003 07:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:33 AM.