PC Review


Reply
Thread Tools Rate Thread

Copy an Excel Template to the Desktop

 
 
Jeefgeorge
Guest
Posts: n/a
 
      14th Aug 2008
If I have a template for an Excel (.xlt) File saved in the same folder as my
back end, is there a way to program access create a copy (.xls) on the
current users desktop?

Also, I have the file path to get to the current users desktop, but is there
a way to use the file path where the database is stored without hardcoding
(C:\....) it in?
 
Reply With Quote
 
 
 
 
Jeefgeorge
Guest
Posts: n/a
 
      14th Aug 2008
Here's a layout of what I would like to do
'Copy ProjBook.xlt from database folder and paste as .xls
'Paste ProjBook.xls to CurrentUser.SpecialFolders("Desktop")
DoCmd.TransferSpreadsheet acExport, 8, "Proj Info Transpose",
Dsktp, ,
"ProjInfo"
DoCmd.TransferSpreadsheet acExport, 8, "Engineer's Estimate",
Dsktp, ,
"BidtabRaw"
DoCmd.SetWarngins False
Application.FollowHyperlink Dsktp
DoCmd.SetWarnings True


"Jeefgeorge" wrote:

> If I have a template for an Excel (.xlt) File saved in the same folder as my
> back end, is there a way to program access create a copy (.xls) on the
> current users desktop?
>
> Also, I have the file path to get to the current users desktop, but is there
> a way to use the file path where the database is stored without hardcoding
> (C:\....) it in?

 
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
Copy info from one excel spreadsheet to an excel template TB@work Microsoft Excel Worksheet Functions 2 21st Oct 2009 07:06 PM
How do I copy protect an Excel template =?Utf-8?B?dmlkZW9tYWc=?= Microsoft Excel Misc 1 2nd Aug 2005 08:22 PM
Need One Excel Template to copy to TWO Databases gildo4realdo Microsoft Excel Misc 0 29th Jul 2005 03:57 PM
How to save or copy an excel template John Microsoft Access Form Coding 1 23rd Apr 2005 05:46 PM
How do I copy a template in Excel? =?Utf-8?B?SGVhdGhlciBSb3NzaQ==?= Microsoft Excel Worksheet Functions 1 10th Jan 2005 04:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:22 AM.