i am using Visual Basic 2005 express edition. I want to build a program that can be run to Excel.
The condition like this:
i)i have a set of value , when i click the button, excel will plot the graph by using the value.
ii) i want to read the value from table in excel by using Visual basic , open the excel file and then read the value
can vb2005 done with this?
Please give me idea!
You need to find out how to automate Excel. You add a reference to the COM library and then call upon the namespace, creating an ExcelApplication class and determining the methods to use from there, either the documentation or the IntelliSense.
Um, sounds like you could look at VBA (Visual Basic for Applications)? Excel, Word etc already has inbuilt support for VB..
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
He could, but it sounds like it's not what he really wants![]()
Up to him![]()
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
To me it sounded more like he wasn't aware of VBA and it's potential... If I was wrong, hell let him go mad with Automation/ActiveX or whatever approach he chooses![]()
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
I don't know what he wants...? He tell us..![]()
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
He did tell us. He told us he wants to use VB2005, VB.NET. He doesn't want to have to open the Excel document just to run the code. Otherwise, the code is pointless, he might as well just do it manually. Therefore, he wants to use VB2005.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks