vba - How do I retrieve an Excel cell value in another cell, as text, formatted as in the origin cell? -
i have 2 cells custom currency formatting.
i display text next sum, describes sum being made.
so write = "" & textasdisplayed(a1) & "+" & textasdisplayed(a2)
does such function exist in worksheet or have make vba function ?
try this: tested , works fine. text , format in dollar(usa) currency.
="" & text(a1,"[$$-409]#,##0.0") & "+" & text(a2,"[$$-409]#,##0.0")
Comments
Post a Comment