By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,239 Members | 1,503 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,239 IT Pros & Developers. It's quick & easy.

Help: Excel sort from VB.Net - How?

P: n/a
Hi,

Any ideas of the syntax required to perform an Excel sort from VB.Net?

Are there any Imports statements required, etc.?

Also, if I want the data in Column B centered, I use:

oSheet.Columns("B:B").HorizontalAlignment = 2

How can I relate this to xlCenter rather than using the number 2?

Thanks,

Greg.
Nov 16 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.