if you cell value is separated by a space or comma etc. and you want to pic 2nd word or 3 rd etc form a cell without applying text to column or find ,etc. Snapshot below
Here is the udf
Function pick_word(x As String, spl As String, positon As Integer)
z = split(x, spl)
pick_word = z(positon - 1)
Type like pick_word(A3," ",2)
a3 - is cell having value
" " - space is used as separator
2 - which word to be picked
Monday, January 30, 2012
Use Split Function in UDF to pick a word at specific number from a cell separated by special characters
Macro to import data from SQL using ADO connection string: Sub Import_data_from_SQL() ' Tools -> References -> Microsoft Active...
If you want to add a new menu on mouse right click "Workbook Navigation showing you the list of all open workbooks and worksheets in ea...
Macro to Export Range in Json Format Option Explicit Sub export_in_json_format() Dim fs As Object Dim jsonfile Dim rangetoex...