If you want to reverse the words separated by space or special character . For example "ashish koul " as "koul ashish" . etc Snapshot below
Use this udf
Function reverse_words(x As String, spl As String)
Dim z, s As String
z = Split(x, spl)
For j = UBound(z) To LBound(z) Step -1
s = s & spl & z(j)
reverse_words = Right(s, Len(s) - 1)
Type lik reverse_words(A3," ")
a3- cell having word
" " - space as separator
Monday, January 30, 2012
Use Split Function in UDF to reverse the words separated by space or any other special character
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...