ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Ado Filter ? (https://www.excelbanter.com/excel-programming/334657-re-ado-filter.html)

[email protected]

Ado Filter ?
 

ThinkImInTrouble wrote:
I have a Connection built to an excel Worksheet using
Microsoft.Jet.OLEDB.4.0.

The Problem I am having is I need to Filter in the Second column of the
Table but the second column Header changes its Name or is left blank.


As I said earlier, don't use SELECT * in production code! You can use a
correlation name (alias)

SELECT F1 AS my_chosen_name FROM [Sheet1$]



All times are GMT +1. The time now is 02:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com