Skip to main content
added 3 characters in body
Source Link
Raystafarian
  • 7.2k
  • 1
  • 21
  • 59

I want to search for a string inserted in "TextBox1" @ MainwbTextBox1 on Mainwb within a range of data located in Workbook "officerA"officerA Worksheet "DATA"(A2,G2000)DATA!(A2,G2000), and then paste results found into Workbook "Mainwb" .sheet "MAIN SCREEN" .Range (A5,G500)Mainwb.sheet("MAIN SCREEN").Range (A5,G500)

I want to search for a string inserted in "TextBox1" @ Mainwb within a range of data located in Workbook "officerA" Worksheet "DATA"(A2,G2000), and then paste results found into Workbook "Mainwb" .sheet "MAIN SCREEN" .Range (A5,G500)

I want to search for a string inserted in TextBox1 on Mainwb within a range of data located in Workbook officerA Worksheet DATA!(A2,G2000), and then paste results found into Workbook Mainwb.sheet("MAIN SCREEN").Range (A5,G500)

edited tags
Link
Pimgd
  • 22.3k
  • 5
  • 66
  • 144
deleted 72 characters in body
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

can any one help me in how to improve below code ;

I want to search for a string inserted in "TextBox1" @ Mainwb within a range of data located in Workbook "officerA" Worksheet "DATA"(A2,G2000), and then paste results found into Workbook "Mainwb" .sheet "MAIN SCREEN" .Range (A5,G500)

I am totally new to VBA and wrote this code quoting from many sources ,all your support is appreciated . I'd like to know how it can be improved.

BelowThis is the code used to search within the same workbook:

Kind regards

can any one help me in how to improve below code ;

I want to search for a string inserted in "TextBox1" @ Mainwb within a range of data located in Workbook "officerA" Worksheet "DATA"(A2,G2000), and then paste results found into Workbook "Mainwb" .sheet "MAIN SCREEN" .Range (A5,G500)

I am totally new to VBA and wrote this code quoting from many sources ,all your support is appreciated .

Below is the code used to search within same workbook:

Kind regards

I want to search for a string inserted in "TextBox1" @ Mainwb within a range of data located in Workbook "officerA" Worksheet "DATA"(A2,G2000), and then paste results found into Workbook "Mainwb" .sheet "MAIN SCREEN" .Range (A5,G500)

I am totally new to VBA and wrote this code quoting from many sources. I'd like to know how it can be improved.

This is used to search within the same workbook:

markup
Source Link
Comintern
  • 4.2k
  • 1
  • 17
  • 26
Loading
Source Link
Loading