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
Help with recordsets
Problem executing SSIS packages via an ASP.NET web service using delegated domain accounts.
How to open zip files in outlook without saving the attachment
Task Scheduler ACTUALLY NOT running task, though showing 'running'
Microsoft forefront and Windows 7 installation failure
Net Logon Errors
Convert Access2 to Access2000 Programatically
SSRS Line Chart with two series
What is the difference between OU and Managed
Saving and Reading a Rich Text in MS-SQL