A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Transfer Spreadsheet



 
 
Thread Tools Display Modes
  #1  
Old October 31st, 2008, 12:08 PM posted to microsoft.public.access
mcp201
external usenet poster
 
Posts: 21
Default Transfer Spreadsheet

I wanted to know if the following is possible:

With the transfer spreadsheet action, I wanted to save a copy of certain
files in a directory. The problem is I dont want the file to overwrite
another file. I want it to save out in the correct year, month, and week. Is
this possible? Thanks in advance.
  #2  
Old October 31st, 2008, 01:54 PM posted to microsoft.public.access
Arvin Meyer [MVP][_2_]
external usenet poster
 
Posts: 2,310
Default Transfer Spreadsheet

You say Action. That implies using a macro, and there isn't any way to do it
with a macro. If you use the TransferSpreadsheet Method in VBA code, you can
name the file in code before you create it.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"mcp201" wrote in message
...
I wanted to know if the following is possible:

With the transfer spreadsheet action, I wanted to save a copy of certain
files in a directory. The problem is I dont want the file to overwrite
another file. I want it to save out in the correct year, month, and week.
Is
this possible? Thanks in advance.



  #3  
Old October 31st, 2008, 03:34 PM posted to microsoft.public.access
Ken Snell \(MVP\)
external usenet poster
 
Posts: 2,506
Default Transfer Spreadsheet

Actually, this can be done in a macro. Just use an expression in the
Filename argument of the macro to build the filename:

="C:\MyFolder\MyFileName" & Format(Date(), "yyyymmdd") & ".xls"

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Arvin Meyer [MVP]" wrote in message
...
You say Action. That implies using a macro, and there isn't any way to do
it with a macro. If you use the TransferSpreadsheet Method in VBA code,
you can name the file in code before you create it.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"mcp201" wrote in message
...
I wanted to know if the following is possible:

With the transfer spreadsheet action, I wanted to save a copy of certain
files in a directory. The problem is I dont want the file to overwrite
another file. I want it to save out in the correct year, month, and week.
Is
this possible? Thanks in advance.





  #4  
Old October 31st, 2008, 06:50 PM posted to microsoft.public.access
mcp201
external usenet poster
 
Posts: 21
Default Transfer Spreadsheet

I actually tried this and the table I wanted saved out there, didn't save
out. Am I doing this wrong?


"Ken Snell (MVP)" wrote:

Actually, this can be done in a macro. Just use an expression in the
Filename argument of the macro to build the filename:

="C:\MyFolder\MyFileName" & Format(Date(), "yyyymmdd") & ".xls"

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Arvin Meyer [MVP]" wrote in message
...
You say Action. That implies using a macro, and there isn't any way to do
it with a macro. If you use the TransferSpreadsheet Method in VBA code,
you can name the file in code before you create it.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"mcp201" wrote in message
...
I wanted to know if the following is possible:

With the transfer spreadsheet action, I wanted to save a copy of certain
files in a directory. The problem is I dont want the file to overwrite
another file. I want it to save out in the correct year, month, and week.
Is
this possible? Thanks in advance.






  #5  
Old November 1st, 2008, 03:23 AM posted to microsoft.public.access
Ken Snell \(MVP\)
external usenet poster
 
Posts: 2,506
Default Transfer Spreadsheet

Did you include the = sign in the expression? It must be there.

Otherwise, post the values/names/expressions of all the arguments that
you're using for the TransferSpreadsheet action in the macro. Let's see what
you're trying to do.

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"mcp201" wrote in message
...
I actually tried this and the table I wanted saved out there, didn't save
out. Am I doing this wrong?


"Ken Snell (MVP)" wrote:

Actually, this can be done in a macro. Just use an expression in the
Filename argument of the macro to build the filename:

="C:\MyFolder\MyFileName" & Format(Date(), "yyyymmdd") & ".xls"

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Arvin Meyer [MVP]" wrote in message
...
You say Action. That implies using a macro, and there isn't any way to
do
it with a macro. If you use the TransferSpreadsheet Method in VBA code,
you can name the file in code before you create it.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"mcp201" wrote in message
...
I wanted to know if the following is possible:

With the transfer spreadsheet action, I wanted to save a copy of
certain
files in a directory. The problem is I dont want the file to overwrite
another file. I want it to save out in the correct year, month, and
week.
Is
this possible? Thanks in advance.







 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.