Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Macros / January 2007

Tip: Looking for answers? Try searching our database.

Recrod a macro?  in MS Access?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ernest Lai - 25 Jan 2007 12:51 GMT
Hi all,

Is it possible to “record a macro” in access like you can in Excel? I cant
seem to find a similar function

Basically I want to create a macro that will be used on a daily basis.  It
would  import a specific sheet from a specific excel file.  And just do the
same settings each time like “first row contains headers” saves table with
the same name, then execute query “xxxx” then query “xxxx” then Export file
to c:/data/xxx.xx

Can anyone point me in the right direction for some info?  Thanks in advance!

Ernest
Steve Schapel - 25 Jan 2007 17:40 GMT
Ernest,

No, there is no provision to "record" a macro in this way.  You need to
write the macro in the macro design window.  From your description, it
sounds like for a start you would need these actions in your macro:
TransferSpreadsheet
OpenQuery
OpenQuery
TransferText

Signature

Steve Schapel, Microsoft Access MVP

> Hi all,
>
[quoted text clipped - 10 lines]
>
> Ernest
Ernest Lai - 26 Jan 2007 15:12 GMT
worked a treat thanks very much

> Ernest,
>
[quoted text clipped - 20 lines]
> >
> > Ernest
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.