[Tue May 13 10:11:01 2014] [error] [client 128.196.45.237] Worksheet name 'Contacts', with case ignored, is already used. at /home/allwebfiles/perl/addconvert/ldifconvert.pl line 145, referer: https://internal.pharmacy.arizona.edu/addconvert/ldifconvert.pl
Examining the ldif file involved it does have two groupOfNames entries with the cn 'Contacts'
Since $worksheet is a local variable, it's new for each distribution list I find; I actually hadn't contemplated people having multiple distribution lists with the same name.
I can get around this by not naming the worksheet, but it would make things convenient for the end users.
What's happening here is that you're trying to create two worksheets with the same name (Contacts), hence "Worksheet name already in use".
The way you have your code, if you just selected the existing sheet you'd end up overwriting your data - in fact not sure if this would even work.
You're going to have to come up with a way to uniquely name the sheets in the event of duplucate distribution lists.
--
You received this message because you are subscribed to the Google Groups "Spreadsheet::WriteExcel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spreadsheet-write...@googlegroups.com.
To post to this group, send email to spreadsheet...@googlegroups.com.
Visit this group at http://groups.google.com/group/spreadsheet-writeexcel.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to spreadsheet-writeexcel+unsub...@googlegroups.com.