OnlinePCTips.com

PC Tips and Tricks to make your life easier
Subscribe

Microsoft Access Functions.

January 29, 2010 By: lilybird Category: Software

There are many useful functions in Microsoft Access. One of them is TransferSpreadsheet, which allows us to move data out of the Access by applying the Access Macro. It is nothing too complicated, but if you previously haven’t worked with Access macros, it might be a little tricky for you. But you shouldn’t be afraid, because it is a very useful technique to learn and apply for a lot of tasks.

Access macro is just a number of commands collected in one object. When you use the object, it runs the given commands for completing the task. For example, you could open an Excel document and write something manually in every cell in a column or just have macro do it for you automatically, saving you a lot of time. This is one of the best things about macros.

Microsoft Access has an installed macro actions, which allow us to assign the data to be moved in the macro and then move it automatically without interacting wit it. To do this you have to start a new macro and select TransferSpreadsheet in the first action box. After selecting, you will notice that you have a couple of options at the bottom of the window. Here is a summary of what you see.

TransferType option is asking you what you want to do with the data, whether you importing it or exporting it. If you want to send something to Excel, you are exporting the data.

There is also Spreadsheet Type, which allows you to choose different kinds of spreadsheets.

The next option is Table Name. But don’t get confused, because it doesn’t have to be a table. You can export anything.

File Name option is also very useful, because even though you can use an already existing file to transfer data to, you can also type in the name of the non-existing file and Access will create it automatically, when the data is exported.

Option Has Field Names is not a big deal but can be used if you plan on working with this data in Excel a lot. This option is asking you, if you want the field names in the table to be transferred over too. If you use this option, your headings will magically appear in Excel sheet, if not, the data will appear without any headings.

Range option can be used, if you want to define the specific Excel sheet range, where you want to export your data. But it is rarely used.

After following these steps, you will be able to save the macro and run it. After finishing, you will see that a new Excel file with the exported data has appeared. This tool is very useful if you need to transfer a lot of data ad perform many basic repetitive tasks.

The world of computers and computer applications grows all the time. But you can turn this issue into your strong point by catching up with this knowledge and becoming an expert, for example in microsoft access database sphere.

Please visit this site that is dedicated to microsoft access database topic and has a nice line of microsoft access database products available.

Leave a Reply