Microsoft
Software
Hardware
Network
Question : Mail Merge from Excel - Format Percent using Switches
I am creating Statements from an Excel worksheet in Microsoft Word using a mail merge. I have a column of percentages in Excel formated as Percentage with 2 decimal places. When I merge the field into Word, 2% shows as .02. I tried playing with the field codes and created { ={MERGEFIELD Double_Points_Rate } *100 \# "0.0%"} (and various permutations thereof) but it either persists in displaying the .02, or displays 0% or gives me a syntax error.
How do I create the field (what steps do I take) so that my percentages look like 1% or 1.5%?
Answer : Mail Merge from Excel - Format Percent using Switches
Here is my final code which works great!
{={ MERGEFIELD Double_Points_Rate} *100 \# 0.0;}%
Data Result
0% 0.0%
1% 1.0%
1.5% 1.5%
Random Solutions
Need to convert bytes to image in web page ASP.Net C#
ASPNET/C# - Listbox question color - tricky
Error attempting to set conditional formatting in Excel via VB.NET
Microsoft sql2005 security patch
Change logon gui windows 2003
C# Replace Statement
store a query result in a table
webservice.htc memory leak quick fix
How to associate a default schema with a login
Windows 7 right click option