[mso] Re: Access/Excel

We keep our previous excel exports by going into the one just created and
renaming it as that weeks date.  My user chose to keep this process manual,
as he is the one who works with the excel file.  I put the button on the
form for him to export when he was ready, and once he exports it, he opens
the excel, renames it according to the week end date.  I'm sure the process
can be automated, I have seen similar needs and may be able to dig up the
code/process that was suggested to auto-increment file names or similar
naming needs.

Let me know if you need it, I'll see what I can find.


                                                                                
                       
                      "Glenda Wells"                                            
                       
                      <gwells@xxxxxxxxxxx      To: <mso@xxxxxxxxxxxxx>          
                       
                      >                                                         
                       
                      Sent by:                 cc:                              
                       
                      mso-bounce@freelist                                       
                       
                      s.org                    Subject:  [mso] Re: Access/Excel 
                       
                      10/19/2004 10:31 AM                                       
                       
                      Please respond to                                         
                 ..... 
                      mso                                                       
                       
                                                                                
                       
                                                                                
                       




another question. we want to keep the previous edition of this exported
table. currently we do it by naming the file with today's date, i.e.
DailyData10192004.xls.  how can I add the current date to the table
name?=20

thanks. /glenda


-----Original Message-----
From: Cathy.Evans@xxxxxxxxx [mailto:Cathy.Evans@xxxxxxxxx]
Sent: Tuesday, October 19, 2004 10:04 AM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access/Excel


Earlier this year (March Archives) Jim Pettit helped me with the same,
only
I was exporting a table.   This code makes my table and exports to
certain
location on project server.  He said the TransferSpreadsheet only works
on tables.

    DoCmd.SetWarnings False
    DoCmd.OpenQuery "QueryName", acViewNormal, acEdit
    DoCmd.SetWarnings True

    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"TableMadeByQueryName", "c:\path\sub path\DestinationExcelName.xls"


=20

                      "Glenda Wells"

                      <gwells@xxxxxxxxxxx      To: <mso@xxxxxxxxxxxxx>

                      >

                      Sent by:                 cc:

                      mso-bounce@freelist

                      s.org                    Subject:  [mso]
Access/Excel                          =20
                      10/19/2004 09:27 AM

                      Please respond to
.....
                      mso

=20

=20





Hi Gurus.
...been so busy can't see straight but lurking about when I get a
chance.

I run a macro in an Access DB to extract data, after which I export a
query to a network shared space as an Excel worksheet.

Would y'all please gimme clues on automating this process?

thanks. /glenda








------------------------------------------------------------------------
-----------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain proprietary, business-confidential
and/or privileged material.
If you are not the intended recipient of this message you are hereby
notified that any use, review, retransmission, dissemination,
distribution, reproduction or any action taken in reliance upon this
message is prohibited. If you received this in error, please contact the
sender and delete the material from any computer.  Any views expressed
in this message are those of the individual sender and may not
necessarily reflect the views of the company.
------------------------------------------------------------------------
-------------------------------

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the
quotes) in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will
also allow you to change your email settings to digest or vacation (no
mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************



  _____ =20

<< ella for Spam Control >> has removed 13007 Spam messages and set
aside 0 Newsletters for me
You can use it too - and it's FREE!  www.ellaforspam.com=09
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes)
in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also
allow you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send
a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************







-----------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person
or entity to which it is addressed and may contain proprietary,  
business-confidential and/or privileged material.
If you are not the intended recipient of this message you 
are hereby notified that any use, review, retransmission, 
dissemination, distribution, reproduction or any action taken
in reliance upon this message is prohibited. If you received
this in error, please contact the sender and delete the 
material from any computer.  Any views expressed in this message
are those of the individual sender and may not necessarily reflect 
the views of the company.
-------------------------------------------------------------------------------------------------------

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: