Excel VBA Tips n Tricks 33 VLookup Troubleshooting in VBA User Q n A

preview_player
Показать описание

In this lesson, we review a few common pitfalls with VLookups in VBA. Vlookup is pickier with the user about text vs numbers. Here are a couple ways to convert one way or the other:

Let's assume our variable is called myName

To quickly convert text to a number:
myName = myName + 0

To quickly convert it to text:
myName = myName & ""

Fantastic Developer Tools:
Рекомендации по теме
Комментарии
Автор

Yes, i think I need driver updates. Good looking out, krn!

ExcelVbaIsFun
Автор

Merry Christmas everyone. I hope God blesses you richly this upcoming year. Remember, you ARE a success!! Believe it, be it! Blessings my friends!! Dan

ExcelVbaIsFun
Автор

Dan, great job... I must be learning because I spotted that "number/text" problem right away... yippee. Also noticed at 3:29 when you were changing the format (Ctrl 1) that excel was trying to access your printer, which was causing the delay. Is your printer connected via local network?

krn