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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -