PC Review


Reply
Thread Tools Rate Thread

convert Microsoft Excel 5.0/95 to ms excel 2003

 
 
=?Utf-8?B?SkNQ?=
Guest
Posts: n/a
 
      1st Sep 2007
I have a database (mdb file) and when I export data to excel using the
command OutputTo, the database export and generates an excel file format
5.0/95.
I just asked in news group if is possible to export using the same method
(OutputTo) and they answer is not possible.

So, I would like to know, how can I save as or convert the excel file format
5.0/95 to ms excel 2003 (current format) via VBA and without asking if do you
want to overwrite...?

Thanks
--
Jose
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      1st Sep 2007
Did you ask this question in an Access newsgroup?

If not, then that's where I'd try.

Well, if you don't get a good answer here.

JCP wrote:
>
> I have a database (mdb file) and when I export data to excel using the
> command OutputTo, the database export and generates an excel file format
> 5.0/95.
> I just asked in news group if is possible to export using the same method
> (OutputTo) and they answer is not possible.
>
> So, I would like to know, how can I save as or convert the excel file format
> 5.0/95 to ms excel 2003 (current format) via VBA and without asking if do you
> want to overwrite...?
>
> Thanks
> --
> Jose


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?SkNQ?=
Guest
Posts: n/a
 
      1st Sep 2007
I posted in access newsgroup, unfortunately I didn't get a good answer.
Also, I search in google and no answers...

I you have any idea, let me know. Some times just a suggestion to get a
solution

thanks,
jcp
--
Jose


"Dave Peterson" wrote:

> Did you ask this question in an Access newsgroup?
>
> If not, then that's where I'd try.
>
> Well, if you don't get a good answer here.
>
> JCP wrote:
> >
> > I have a database (mdb file) and when I export data to excel using the
> > command OutputTo, the database export and generates an excel file format
> > 5.0/95.
> > I just asked in news group if is possible to export using the same method
> > (OutputTo) and they answer is not possible.
> >
> > So, I would like to know, how can I save as or convert the excel file format
> > 5.0/95 to ms excel 2003 (current format) via VBA and without asking if do you
> > want to overwrite...?
> >
> > Thanks
> > --
> > Jose

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      1st Sep 2007
I don't use Access.

JCP wrote:
>
> I posted in access newsgroup, unfortunately I didn't get a good answer.
> Also, I search in google and no answers...
>
> I you have any idea, let me know. Some times just a suggestion to get a
> solution
>
> thanks,
> jcp
> --
> Jose
>
> "Dave Peterson" wrote:
>
> > Did you ask this question in an Access newsgroup?
> >
> > If not, then that's where I'd try.
> >
> > Well, if you don't get a good answer here.
> >
> > JCP wrote:
> > >
> > > I have a database (mdb file) and when I export data to excel using the
> > > command OutputTo, the database export and generates an excel file format
> > > 5.0/95.
> > > I just asked in news group if is possible to export using the same method
> > > (OutputTo) and they answer is not possible.
> > >
> > > So, I would like to know, how can I save as or convert the excel file format
> > > 5.0/95 to ms excel 2003 (current format) via VBA and without asking if do you
> > > want to overwrite...?
> > >
> > > Thanks
> > > --
> > > Jose

> >
> > --
> >
> > Dave Peterson
> >


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?SkNQ?=
Guest
Posts: n/a
 
      1st Sep 2007
You don't need to use access.
If you use vba and if you know how can convert, let me know.
thanks
jcp
--
Jose


"Dave Peterson" wrote:

> I don't use Access.
>
> JCP wrote:
> >
> > I posted in access newsgroup, unfortunately I didn't get a good answer.
> > Also, I search in google and no answers...
> >
> > I you have any idea, let me know. Some times just a suggestion to get a
> > solution
> >
> > thanks,
> > jcp
> > --
> > Jose
> >
> > "Dave Peterson" wrote:
> >
> > > Did you ask this question in an Access newsgroup?
> > >
> > > If not, then that's where I'd try.
> > >
> > > Well, if you don't get a good answer here.
> > >
> > > JCP wrote:
> > > >
> > > > I have a database (mdb file) and when I export data to excel using the
> > > > command OutputTo, the database export and generates an excel file format
> > > > 5.0/95.
> > > > I just asked in news group if is possible to export using the same method
> > > > (OutputTo) and they answer is not possible.
> > > >
> > > > So, I would like to know, how can I save as or convert the excel file format
> > > > 5.0/95 to ms excel 2003 (current format) via VBA and without asking if do you
> > > > want to overwrite...?
> > > >
> > > > Thanks
> > > > --
> > > > Jose
> > >
> > > --
> > >
> > > Dave Peterson
> > >

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      1st Sep 2007
Did you mean this as a reply to my post?

JCP wrote:
>
> You don't need to use access.
> If you use vba and if you know how can convert, let me know.
> thanks
> jcp
> --
> Jose
>
> "Dave Peterson" wrote:
>
> > I don't use Access.
> >
> > JCP wrote:
> > >
> > > I posted in access newsgroup, unfortunately I didn't get a good answer.
> > > Also, I search in google and no answers...
> > >
> > > I you have any idea, let me know. Some times just a suggestion to get a
> > > solution
> > >
> > > thanks,
> > > jcp
> > > --
> > > Jose
> > >
> > > "Dave Peterson" wrote:
> > >
> > > > Did you ask this question in an Access newsgroup?
> > > >
> > > > If not, then that's where I'd try.
> > > >
> > > > Well, if you don't get a good answer here.
> > > >
> > > > JCP wrote:
> > > > >
> > > > > I have a database (mdb file) and when I export data to excel using the
> > > > > command OutputTo, the database export and generates an excel file format
> > > > > 5.0/95.
> > > > > I just asked in news group if is possible to export using the same method
> > > > > (OutputTo) and they answer is not possible.
> > > > >
> > > > > So, I would like to know, how can I save as or convert the excel file format
> > > > > 5.0/95 to ms excel 2003 (current format) via VBA and without asking if do you
> > > > > want to overwrite...?
> > > > >
> > > > > Thanks
> > > > > --
> > > > > Jose
> > > >
> > > > --
> > > >
> > > > Dave Peterson
> > > >

> >
> > --
> >
> > Dave Peterson
> >


--

Dave Peterson
 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      2nd Sep 2007
To change the file format look at SaveAs in help and its second argument.
Perhaps something like this (if the workbook has already been saved)

Dim wb As Excel.Workbook
Set wb = ActiveWorkbook
' if code is in Access qualify with a ref to the Excel.Application

wb.SaveAs wb.FullName, xlNormal

To prevent the "do you want to overwrite...?" precede the saveas with
Application.displayalerts = false
and reset to true when done.

If the workbook has never been saved, ie does not have a path, change

wb.FullName
to
sFileName

where sFileName = something like "C:\folder\myBook.xls"

If your VBA is in Access and you are not using Early Binding you'll need to
change the code along these lines

Dim wb As Object
Set wb = xlApp.ActiveWorkbook' or whatever workbook
wb.SaveAs wb.FullName, -4143 ' value of the xlNormal constant

Regards,
Peter T



"JCP" <(E-Mail Removed)> wrote in message
news:66A49F9C-3B22-4617-8879-(E-Mail Removed)...
> I have a database (mdb file) and when I export data to excel using the
> command OutputTo, the database export and generates an excel file format
> 5.0/95.
> I just asked in news group if is possible to export using the same method
> (OutputTo) and they answer is not possible.
>
> So, I would like to know, how can I save as or convert the excel file

format
> 5.0/95 to ms excel 2003 (current format) via VBA and without asking if do

you
> want to overwrite...?
>
> Thanks
> --
> Jose



 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Excel Viewer 2003 won't open Microsoft Excel Worksheet =?Utf-8?B?R3JhaGFtIEpvbmVz?= Microsoft Excel Misc 1 13th May 2005 12:58 AM
How do I convert a Macintosh version 1 excel file to excel 2003 =?Utf-8?B?cm95Njc4?= Microsoft Excel Misc 1 28th Mar 2005 01:18 AM
Convert to Excel from Microsoft words 2003 =?Utf-8?B?TGVubm94Yw==?= Microsoft Word Document Management 0 19th Nov 2004 12:01 PM
Convert to Excel from Microsoft words 2003 =?Utf-8?B?TGVubm94Yw==?= Microsoft Word Document Management 0 19th Nov 2004 11:57 AM
How to convert excel files in microsoft words 2003 =?Utf-8?B?bGVubm94?= Microsoft Word Document Management 3 21st Sep 2004 02:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:04 AM.