Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9200129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:41:49+00:00 2026-06-17T22:41:49+00:00

Im working on a speadsheet with multiple large tables whose info is entered via

  • 0

Im working on a speadsheet with multiple large tables whose info is entered via spreadsheet based userforms i have created, as i am not familiar or comfortable using vba userforms, and i am trying to call entries back up in order to edit them.

The easiest way i can think of to do this is to open the default excel dataform. What i need to know is; is there any way to open this dataform for a specific table with criteria already entered?

eg. I need to edit a product table, so i already know that im editing the product table and i know the name for the product. I have a little userform, again spreadsheet based, where i select the entry type(in this case a product) and then enter the product name. What i want to do is use that info to open a dataform for the product table with the criteria field of the name already filled out so as to reduce time spent searching for the entry as these tables have hundreds of entries.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:41:50+00:00Added an answer on June 17, 2026 at 10:41 pm

    For this simple example I take your Worksheet with the products is called “Products”. There are two columns with Names in column A and IDs in column B

    On the Userform I place two textboxes called

    • TextBox_Productname

    • TextBox_ProductID

    I then added the following code to the Userform that will trigger whenever the value of the productname textbox changes and it looses focus.

    Private Sub TextBox_Productname_Change()
    
        ' Clear the content of all Textboxes but the Productname
        TextBox_ProductID.Value = ""
    
        ' Analyse the Cells in the Worksheet called "Products"
        With Worksheets("Products")
    
            ' Assume in the first row are the headers so start
            ' looking at the second row and go to the final one
            For i = 2 To .UsedRange.Rows.Count
    
                ' check whether the value in the first column
                ' matches the value of the Textbox_Productname
                If .Cells(i, 1) = TextBox_Productname.Value Then
    
                    ' If there is a match copy the values of all
                    ' the other columns to the textboxes
                    TextBox_ProductID.Value = .Cells(i, 2)
                End If
    
            Next i
    
        End With
    
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a GPA spreadsheet in excel and have the basics working but I
I am working on a complex spreadsheet based solution. Occasionally a user will experience
I have an assignment where I am working on a Spreadsheet, that I have
I'm working on creating a javascript based spreadsheet application. Right now I can dynamically
I am working with relatively large spreadsheets from gdocs and access them via the
I am working with some spreadsheet data and I have a set of cell
I'm working on a vb.net application which imports from an Excel spreadsheet. If rdr.HasRows
I am trying to start working with Excel documents through the OpenXML SDK Spreadsheet
Working with Reporting Services 2008 r2. So here's my issue: We have 5 reports
Currently im working on a database Excel spreadsheet and im currently using VBA to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.