ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Hold format from excel to data source for mail merging (https://www.excelbanter.com/excel-worksheet-functions/48799-hold-format-excel-data-source-mail-merging.html)

Frank3

Hold format from excel to data source for mail merging
 
There has to be a way to hold the numbering format in excel spreadsheet when
it converts to data source for mail merging. Help!

Bernie Deitrick

Frank,

Try running this macro on a copy of your spreadsheet.

Sub Convert()
Dim myCell As Range
For Each myCell In ActiveSheet.UsedRange
myCell.Value = "'" & myCell.Text
Next myCell
End Sub

HTH,
Bernie
MS Excel MVP


"Frank3" wrote in message
...
There has to be a way to hold the numbering format in excel spreadsheet when
it converts to data source for mail merging. Help!




Frank3

Thanks, I'll try it.

"Bernie Deitrick" wrote:

Frank,

Try running this macro on a copy of your spreadsheet.

Sub Convert()
Dim myCell As Range
For Each myCell In ActiveSheet.UsedRange
myCell.Value = "'" & myCell.Text
Next myCell
End Sub

HTH,
Bernie
MS Excel MVP


"Frank3" wrote in message
...
There has to be a way to hold the numbering format in excel spreadsheet when
it converts to data source for mail merging. Help!






All times are GMT +1. The time now is 11:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com