Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Ms-Query stopping


I'm running an MS-Query to populate my spreadsheet from 2 DBF files -
have a macro that formats the data afterwards

I want the date to go from dd-mm-yyyy to yyyy-mm-dd but Ms-Query won'
allow this to happen

So presently I am needing to save the file as a CSV and shutting dow
excel and reopening to stop the query then running the macro - is ther
any VBA Icould use to resolve this problem?

Any help appreciated
Stev

--
Steve
-----------------------------------------------------------------------
Steve M's Profile: http://www.excelforum.com/member.php...fo&userid=3252
View this thread: http://www.excelforum.com/showthread.php?threadid=52428

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Ms-Query stopping

first, make sure you have the Backgroundrefresh property set to false. If
that doesn't help, then You could delete the query. This should leave the
data on the worksheet and you could then reformat it.

--
Regards,
Tom Ogilvy




"Steve M" wrote:


I'm running an MS-Query to populate my spreadsheet from 2 DBF files - I
have a macro that formats the data afterwards

I want the date to go from dd-mm-yyyy to yyyy-mm-dd but Ms-Query won't
allow this to happen

So presently I am needing to save the file as a CSV and shutting down
excel and reopening to stop the query then running the macro - is there
any VBA Icould use to resolve this problem?

Any help appreciated
Steve


--
Steve M
------------------------------------------------------------------------
Steve M's Profile: http://www.excelforum.com/member.php...o&userid=32520
View this thread: http://www.excelforum.com/showthread...hreadid=524282


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopping "Query Refresh" messages fmistry Excel Discussion (Misc queries) 2 March 6th 07 03:38 PM
Stopping "Query Refresh" messages fmistry Excel Discussion (Misc queries) 0 February 27th 07 08:33 PM
Stopping a Macro Samir[_3_] Excel Programming 6 March 6th 06 04:14 PM
stopping macro DPK Excel Programming 3 May 13th 04 06:50 AM
Stopping the use of enableevents Steven Revell[_3_] Excel Programming 3 November 21st 03 07:16 AM


All times are GMT +1. The time now is 03:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"