如何使用Visual Basic的文本框获取Excel单元格的值

问题描述:

我在Visual Basic中使用文本框时遇到问题.问题是我想使用文本框在单元格中找到值,我在excel中有数据,产品名称和单价是我使用Visual Basic创建的程序.
我想做的是,如果我在texbox中输入产品名称,然后单击查找产品名称"按钮,它将在excel到我的文本框中显示数据,包括单价

i have a problem using textbox in visual basic. the problem is i want to find the value in a cell using textbox i have a data in excel the product name and the unit price i created a program using visual basic.
i like to do is if i type the product name in a texbox and i click the find product name button it will appear the data from excel to my textbox including the unit price

对不起,但是您想将excel值推送到网页中,还是让网页获取excel值?

他们是完全不同的问题.

这可能有帮助 [
Sorry, but do you want to push an excel value into a web page, or get the webpage to pick up an excel value?

They are entirely different questions.

This may help[^] if it is how I think you mean.