Closed Thread
Results 1 to 4 of 4

Can you use a Macro to auto format a MS Access Report (exported to Excel)?

  1. #1
    Registered User
    Join Date
    05-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    21

    Can you use a Macro to auto format a MS Access Report (exported to Excel)?

    Hello All,

    I'm new to the site as well as macros and was hoping someone could help.

    Every month I'm asked to run a report out of MS Access, when I run the report I then export the data to MS Excel. Using an Excel file from the previous month I format it to look identical to the prior months spreadsheet. The formatting I perform are deleting rows, cutting and inserting columns in different orders, formatting cells (such as dates,numbers, and alignment). And that is pretty much it. I would like to know if there is a way for me to record what I am doing using a macro, so that when it is time for me to run a report from MS Access I could run a macro so that all the formatting is done automatically. Basically I would like to avoid having to manually do all the necessary formatting every month. I attempted to record the macro today, but when I ran it, it errors out. Can someone help me figure out what I may be doing wrong. Id really appreciate it. Thank you!

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Can you use a Macro to auto format a MS Access Report (exported to Excel)?

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Can you use a Macro to auto format a MS Access Report (exported to Excel)?

    Hello Arlu1201,

    Thanks to the help of other forum members, this posting was solved on the following thread:

    http://www.excelforum.com/excel-prog...html?p=3224969

    Quote Originally Posted by arlu1201 View Post
    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Can you use a Macro to auto format a MS Access Report (exported to Excel)?

    Its against the forum rules to open duplicate posts. If you had additional info or the code to provide, you could have entered it in the same thread.

    Please remember for future reference.

    Thread duplicate hence closed.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1