Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Mail Merge with Excel data source

Jun 3, 2004 12:42AM PDT

When I merge into a word doc from Excel the empty fields from Excel are coming up as 0 in the document.

Before XP it just used to ignore those fields without data. EG - one record has 10 fields and the next has only 8, the last two are coming up 0.

I have tried everything I can think of - checking the formatting of the excel sheet etc but don't know now what to do.

Many thanks for any advice!
Nic

Discussion is locked

- Collapse -
Re:Mail Merge with Excel data source (just want to know...)
Jun 3, 2004 1:06AM PDT

Is this Office 97?

Bob

- Collapse -
Re:Re:Mail Merge with Excel data source (just want to know...)
Jun 3, 2004 5:33PM PDT

It's Office XP!

Thanks

- Collapse -
Re:Mail Merge with Excel data source
Jun 3, 2004 7:21PM PDT

Does it help to put a space (maybe even preceded by a single quote, but I don't think it makes any difference) in the empty cells? A cell with a space is something else than a empty cell.
If so, you might be able to write a macro to convert all cells.

I'm not versed in mail-merge, but is it possible to use an if-function somewhere in the form,

- Collapse -
Re:Re:Mail Merge with Excel data source
Jun 7, 2004 11:31AM PDT

I only know about Office 97, but this might apply to Office XP as well.

Does the Excel spread sheet show a zero for the data? I've found that I can select cells, then go to the Tools menu, select Options, and on the View tab unselect "Zero values". The cell then shows a blank cell rather than a zero and the field in the form letter is then blank.

- Collapse -
Mail Merge with Excel data source
Jan 10, 2005 9:57PM PST

Hi NicnN

As per the probs you specified, I feel you just have to fix the field string. I mean if suppose you are using a number field, in the first record it treat that column as number and if there is any apha-nuemeric data, it will ignore and display as zero. So make sure the field in which it shows zero is a alph. field and nuemeric. I hope if you put all the field as alpha i.e (insert a fake record of some characters in the first record it will treat all the fields as alphabetic and so it wont give u zero.

Do lemme know