Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Get excel cell properties

Hi all,
I am trying to write some code to put an excel dataset into a new
access table.
For this I need to set the field properties in Access. That is not the
issue, but I need to know to what parameter to set it to.
Does anyone know how to retrieve this from excel (eg. number, text,
date etc.)

Thanks in advance
Peter

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Get excel cell properties

You can use the vartype function or the typename function.

However, Excel isn't a database, so each cell in a column can be different.

--
Regards,
Tom Ogilvy


"XPete" wrote in message
oups.com...
Hi all,
I am trying to write some code to put an excel dataset into a new
access table.
For this I need to set the field properties in Access. That is not the
issue, but I need to know to what parameter to set it to.
Does anyone know how to retrieve this from excel (eg. number, text,
date etc.)

Thanks in advance
Peter



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Get excel cell properties

Thanks,
I'll run several tests on the first few lines.
If they are all numeric, I'll stick with that, otherwise it will be
text.

Thanks for your help.

KR
Peter

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
Excel cell properties Will Excel Worksheet Functions 2 February 10th 06 07:07 PM
How do you use EXCEL formula in properties of file (cell content) chiefcook Excel Discussion (Misc queries) 1 November 10th 05 04:53 PM
Properties transferring from excel cells to word file properties lubo Excel Programming 4 July 12th 05 11:24 AM
How to stop Excel from changing the cell properties? Ikke Excel Discussion (Misc queries) 5 May 4th 05 10:12 PM
Excel document properties insert into a cell Mark Excel Discussion (Misc queries) 3 December 16th 04 02:05 PM


All times are GMT +1. The time now is 02:16 AM.

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"