Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

insert rows and data in Excel from VB6

Avatar of Dee
DeeFlag for United States of America asked on
Visual Basic ClassicMicrosoft Excel
69 Comments1 Solution2014 ViewsLast Modified:
I need to search for value in a specific column on a spreadsheet to locate a match to variable in vb6.  If found, I need to move to the last row containg that value and insert a row of data.

Example, I need to locate loom no. 21 as matched to the value in my VB6 variable, When I locate the value in the second row, row 42, I will insert a row of data below that.

I need specific example please.  Thank you.

Spreadsheet: Destination
====================
    A                B                  C                         D
::::::::::::::::
1: loomNo
2: ______
40: 7
41: 21
42: 21
43: 6
44: 6