+ Reply to Thread
Results 1 to 3 of 3

Using a Textbox to find row number to populate data into that row by indicated cell number

  1. #1
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Using a Textbox to find row number to populate data into that row by indicated cell number

    Hi Experts

    Please assist me in this.

    I Know this is a simple code but for some reason I cannot get it to work.

    I am Trying to use my Textbot one to match the value entered with sheet1 and the make .cells(" ") = Me.Textbox2 and so on.

    My code is

    Please Login or Register  to view this content.
    Thanks in advance

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Using a Textbox to find row number to populate data into that row by indicated cell nu

    First of all typo in sheetname.

    Second, when using Match you need to Dim your variable as Variant because it needs to be able to hold a number or an ErrorNumber

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor
    Join Date
    06-25-2018
    Location
    South-Africa Pretoria
    MS-Off Ver
    2016
    Posts
    143

    Re: Using a Textbox to find row number to populate data into that row by indicated cell nu

    I managed to get it solved with

    Please Login or Register  to view this content.
    I picked up that I made a Typo after my post.

    Thanks for the response will save that code if ever needed

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Add (Number) in TextBox to populate ComboBox
    By steve.whoosh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-16-2017, 10:48 AM
  2. Replies: 5
    Last Post: 07-16-2016, 04:15 AM
  3. Replies: 1
    Last Post: 03-12-2015, 01:51 AM
  4. [SOLVED] Enter a number in a Textbox then find the number in a cell to activate Hyperlink
    By lapot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2014, 10:26 AM
  5. Replies: 4
    Last Post: 11-13-2012, 02:16 PM
  6. Replies: 7
    Last Post: 12-18-2008, 07:34 PM
  7. Find the largest number by group and populate
    By sanjimmy in forum Excel General
    Replies: 2
    Last Post: 07-19-2006, 04:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1