Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Total Field Count

I have connected an excel workbook to an access database. Is there a
function in VBA that will return the total field count of an access table?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Total Field Count

Assume you use data=Get External Data (or Import External Data)

Assume table is returned starting in cell A1 of Sheet3 and there is no other
data on the worksheet

=CountA(Sheet3!1:1) will give the number of fields (columns)

--
Regards,
Tom Ogilvy

"Markantesp" wrote in message
...
I have connected an excel workbook to an access database. Is there a
function in VBA that will return the total field count of an access table?



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
Creating a Calculated Field From a Running Total Field Joe Excel Worksheet Functions 3 September 5th 08 02:09 AM
how do I take a sub total field and calculate sales tax to it Michael Beck New Users to Excel 1 May 27th 07 09:44 AM
calculate count on 2006 total, 2005 total, etc... Amanda Deshotel Excel Worksheet Functions 6 September 28th 06 11:59 PM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Total Field Always Visible brandolph Excel Worksheet Functions 1 March 17th 05 05:32 AM


All times are GMT +1. The time now is 09:46 AM.

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

About Us

"It's about Microsoft Excel"