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
Outlook 2007 constantly asking for password in SBS 2008 domain
Could not load file or assembly 'Microsoft.SharePoint.Sear<wbr />ch' or one of its dependencies
how to use if statements for Excel
vbscript SQL Server 2005 calling SP
Combo box strange behavior
Excel + Access Integration - Passing Parameters
IIS 7
Search for Procedure SQL Server
How can I know HTTP status code on CHTMLView?
ActiveSync sycn only working one way for Calendar, tasks and contacts, working both ways for email