Welcome to the Excel Forum

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.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 06-10-2009, 09:54 AM
Spac3Monkey1 Spac3Monkey1 is offline
Registered User
 
Join Date: 10 Jun 2009
Location: Warrington, Cheshire
MS Office Version:Excel 2003
Posts: 2
Spac3Monkey1 is becoming part of the community
Automatically saving access query as Excel file and then running a macro

Please Register to Remove these Ads

Hi All

I really need your knowledge today peeps.

OK so this is what I'm working with - I have a query which I want to do two things with.

Firstly - When the query is run, I want it to automatically save it to a location of my choosing and then from every time I run the query it will automatically update that Excel file

Secondly after saving, I want it to run a macro to conditionally format Column E of the file with a duplication formula

=countif(E:E,E2)>1

Is this possible?

Thanks in advance

Craig
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump