Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Excel Returns Blank

I'm trying to import data from several Excel files into one single workbook
but having a problem with blank cells. I now understand this is due to mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I don't
understand is the connection string which needs the following statement
adding "IMEX=1" please can someone give me an idots guide how I go about this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Returns Blank

Read through this thread:

http://tinyurl.com/dqwmj

--
Regards,
Tom Ogilvy


"Jeff" wrote in message
...
I'm trying to import data from several Excel files into one single

workbook
but having a problem with blank cells. I now understand this is due to

mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I don't
understand is the connection string which needs the following statement
adding "IMEX=1" please can someone give me an idots guide how I go about

this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Excel Returns Blank

Thanks Tom for the post. I'm still at a lost to know how to add the
connection string:
Setting "IMEX=1" in the Extended Properties section of the
connection string.


Where do I add these statements? I'm sorry but I'm a complete amateur at
this and would be grateful for an idiot guide.

Thanks

"Jeff" wrote:

I'm trying to import data from several Excel files into one single workbook
but having a problem with blank cells. I now understand this is due to mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I don't
understand is the connection string which needs the following statement
adding "IMEX=1" please can someone give me an idots guide how I go about this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Returns Blank

There is sample code in the thread to which I posted a link. Perhaps you
should look at that. Otherwise, I guess I don't know what you are doing.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Thanks Tom for the post. I'm still at a lost to know how to add the
connection string:
Setting "IMEX=1" in the Extended Properties section of the
connection string.


Where do I add these statements? I'm sorry but I'm a complete amateur at
this and would be grateful for an idiot guide.

Thanks

"Jeff" wrote:

I'm trying to import data from several Excel files into one single

workbook
but having a problem with blank cells. I now understand this is due to

mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I don't
understand is the connection string which needs the following statement
adding "IMEX=1" please can someone give me an idots guide how I go about

this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Excel Returns Blank

Hi Tom,

Does this code get copied into the "Visual Basic Editor" area of Excel?

Thanks

Jeff



"Tom Ogilvy" wrote:

There is sample code in the thread to which I posted a link. Perhaps you
should look at that. Otherwise, I guess I don't know what you are doing.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Thanks Tom for the post. I'm still at a lost to know how to add the
connection string:
Setting "IMEX=1" in the Extended Properties section of the
connection string.


Where do I add these statements? I'm sorry but I'm a complete amateur at
this and would be grateful for an idiot guide.

Thanks

"Jeff" wrote:

I'm trying to import data from several Excel files into one single

workbook
but having a problem with blank cells. I now understand this is due to

mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I don't
understand is the connection string which needs the following statement
adding "IMEX=1" please can someone give me an idots guide how I go about

this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.









  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Returns Blank

No. It shows how to modify your existing code. If you are not using
existing code, then perhaps you need to use the macro recorder while you do
what you are doing manually, then modify the recorded code in accordance
with the extended properties portion of the code in the link.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Hi Tom,

Does this code get copied into the "Visual Basic Editor" area of Excel?

Thanks

Jeff



"Tom Ogilvy" wrote:

There is sample code in the thread to which I posted a link. Perhaps

you
should look at that. Otherwise, I guess I don't know what you are

doing.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Thanks Tom for the post. I'm still at a lost to know how to add the
connection string:
Setting "IMEX=1" in the Extended Properties section of the
connection string.

Where do I add these statements? I'm sorry but I'm a complete amateur

at
this and would be grateful for an idiot guide.

Thanks

"Jeff" wrote:

I'm trying to import data from several Excel files into one single

workbook
but having a problem with blank cells. I now understand this is due

to
mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I don't
understand is the connection string which needs the following

statement
adding "IMEX=1" please can someone give me an idots guide how I go

about
this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.









  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Returns Blank

Perhas that answer was too quick since I don't really know what you are
doing. Perhaps invest some time reading this link and see if you can adapt
it:

http://support.microsoft.com/default...b;en-us;257819

This was in the original link as well. (there is a second link there you
might want to check as well).

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Hi Tom,

Does this code get copied into the "Visual Basic Editor" area of Excel?

Thanks

Jeff



"Tom Ogilvy" wrote:

There is sample code in the thread to which I posted a link. Perhaps

you
should look at that. Otherwise, I guess I don't know what you are

doing.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Thanks Tom for the post. I'm still at a lost to know how to add the
connection string:
Setting "IMEX=1" in the Extended Properties section of the
connection string.

Where do I add these statements? I'm sorry but I'm a complete amateur

at
this and would be grateful for an idiot guide.

Thanks

"Jeff" wrote:

I'm trying to import data from several Excel files into one single

workbook
but having a problem with blank cells. I now understand this is due

to
mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I don't
understand is the connection string which needs the following

statement
adding "IMEX=1" please can someone give me an idots guide how I go

about
this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.









  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Excel Returns Blank

Hi Tom,

Thank you for your time and effect, much appreciated.

I think the area of programming is a step too far for me.

In your reply you said you didn't really know what I was trying to achieve,
basically it was this:

I have a master spreadsheet which imports data from several Excel
spreadsheets via the "Import External Data" option, the error I was getting
was NULL cells, which I now know is due to mixed data types.

I can follow the registry fix but have now idea how to add the connection
string (If this is the right terminology to use) due to the liminations of
the Jet Driver.

You state the code is added in the marco field but no marco's are used for
this import only the "Refresh" option.

I hope this makes sense.

Thanks





"Tom Ogilvy" wrote:

Perhas that answer was too quick since I don't really know what you are
doing. Perhaps invest some time reading this link and see if you can adapt
it:

http://support.microsoft.com/default...b;en-us;257819

This was in the original link as well. (there is a second link there you
might want to check as well).

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Hi Tom,

Does this code get copied into the "Visual Basic Editor" area of Excel?

Thanks

Jeff



"Tom Ogilvy" wrote:

There is sample code in the thread to which I posted a link. Perhaps

you
should look at that. Otherwise, I guess I don't know what you are

doing.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Thanks Tom for the post. I'm still at a lost to know how to add the
connection string:
Setting "IMEX=1" in the Extended Properties section of the
connection string.

Where do I add these statements? I'm sorry but I'm a complete amateur

at
this and would be grateful for an idiot guide.

Thanks

"Jeff" wrote:

I'm trying to import data from several Excel files into one single
workbook
but having a problem with blank cells. I now understand this is due

to
mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I don't
understand is the connection string which needs the following

statement
adding "IMEX=1" please can someone give me an idots guide how I go

about
this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.










  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Returns Blank

I don't think you can set the extended properties manually. I would suggest
recording the action of making the query. Then use the article referenced
to see how to mdoify the connection string (in the recorded macro) to add
the extended properties. I haven't done it, but that is what I would try.

If that doesn't work, then I guess you would have to go to ADO as in the
article.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Hi Tom,

Thank you for your time and effect, much appreciated.

I think the area of programming is a step too far for me.

In your reply you said you didn't really know what I was trying to

achieve,
basically it was this:

I have a master spreadsheet which imports data from several Excel
spreadsheets via the "Import External Data" option, the error I was

getting
was NULL cells, which I now know is due to mixed data types.

I can follow the registry fix but have now idea how to add the connection
string (If this is the right terminology to use) due to the liminations of
the Jet Driver.

You state the code is added in the marco field but no marco's are used for
this import only the "Refresh" option.

I hope this makes sense.

Thanks





"Tom Ogilvy" wrote:

Perhas that answer was too quick since I don't really know what you are
doing. Perhaps invest some time reading this link and see if you can

adapt
it:

http://support.microsoft.com/default...b;en-us;257819

This was in the original link as well. (there is a second link there

you
might want to check as well).

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Hi Tom,

Does this code get copied into the "Visual Basic Editor" area of

Excel?

Thanks

Jeff



"Tom Ogilvy" wrote:

There is sample code in the thread to which I posted a link.

Perhaps
you
should look at that. Otherwise, I guess I don't know what you are

doing.

--
Regards,
Tom Ogilvy

"Jeff" wrote in message
...
Thanks Tom for the post. I'm still at a lost to know how to add

the
connection string:
Setting "IMEX=1" in the Extended Properties section of the
connection string.

Where do I add these statements? I'm sorry but I'm a complete

amateur
at
this and would be grateful for an idiot guide.

Thanks

"Jeff" wrote:

I'm trying to import data from several Excel files into one

single
workbook
but having a problem with blank cells. I now understand this is

due
to
mixed
data types.

I 've updated my registry key to Zero "TypeGuessRows" What I

don't
understand is the connection string which needs the following

statement
adding "IMEX=1" please can someone give me an idots guide how I

go
about
this!

Where / how do I add the statement, is it within Excel ?

Thanks in advance.












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
Opening an excel file returns a blank worksheet JVenner Excel Discussion (Misc queries) 4 October 15th 06 02:27 AM
When i try to filter information, excel returns a blank page? AJoudrie Excel Worksheet Functions 2 April 5th 06 09:37 PM
Using Jet to read excel file returns blank for last cell - sometim Ron[_29_] Excel Programming 18 December 30th 04 05:09 AM
Using Jet to read excel file returns blank for last cell - sometim Ron Excel Discussion (Misc queries) 1 December 9th 04 08:21 AM
Excel returns blank values using ADO/VB Manish Excel Programming 0 July 17th 03 09:03 AM


All times are GMT +1. The time now is 05:57 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"