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
Xp Boot Problem After Using Registry Cleaner, Recovery Options?
Grow Vertical Lines in Access Report
How to find records between two dates ?
MFC: starting an external program
Excel dynamic names (functions)
How do I select prior month data from last year in a query?
Active Directory
Problem with Linq query - undesired casting of result type to WhereEnumerableIterator
VS2008 C# DeskTop application Close form and open anther one problem
Outlook7 mail Icon