Hold format from excel to data source for mail merging

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

There has to be a way to hold the numbering format in excel spreadsheet when
it converts to data source for mail merging. Help!
 
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
 
Thanks, I'll try it.

Bernie Deitrick said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top