Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Autofilter and formatting

Hello,

Dont know if this is the right thread but here it is.

I am writing an app using vb.net and I have exported some data into an excel
spreadsheet.

I know how to turn on the autofilter in VBA as well as format text.
However how do you turn on the autofilter from Visual Studio???

exSheet.AutoFilterMode = False
exSheet.Range("A1:L1").AutoFilter()

I have tried the above and I always get an exception on the second statement.
Also some help formatting text would be great.

Thanks!
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 2007 autofilter change to 2003 autofilter functionality? jonnybrovo815 Excel Discussion (Misc queries) 1 April 19th 10 10:05 PM
2007 excel autofilter change back to 2003 autofilter? jonnybrovo815 Excel Discussion (Misc queries) 1 April 19th 10 05:53 PM
Conditional Formatting and Autofilter ak_edm Excel Discussion (Misc queries) 4 February 13th 10 04:48 AM
autofilter/formatting problem [email protected] Excel Discussion (Misc queries) 1 April 22nd 07 07:43 PM
Autofilter - formatting criteria1 data for valid comparison Dennis Excel Programming 2 December 4th 06 06:56 PM


All times are GMT +1. The time now is 12:51 PM.

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"