Vlookup with Text Number: Exmp: A1

AsifShah

Board Regular
Joined
Feb 12, 2021
Messages
70
Office Version
  1. 2016
  2. 2013
Platform
  1. Windows
Hello Dear Friends
Please Help On This Metter.
Below Vlookup formola working fine when i using Number ( 1 2 3 4 5 ...) but when i use Text or Text With Number Exmp: (A1) its showing error and not working.
Please Friends provide a Vlookup code that work with Text & Number Example: A1. bcz iam making a little software for my office work. Ploting Saling my Plot number is start with text number( A1, A2, B3 )

VBA Code:
With Me
.TextBox4 = Application.WorksheetFunction.VLookup(CLng(Me.TextBox3), Sheet1.Range("PlotList"), 3, 0)
.TextBox5 = Application.WorksheetFunction.VLookup(CLng(Me.TextBox3), Sheet1.Range("PlotList"), 5, 0)
.TextBox6 = Application.WorksheetFunction.VLookup(CLng(Me.TextBox3), Sheet1.Range("PlotList"), 5, 0)
End With

Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top