P
Pierre Archambault
Hi,
I wish to give the user the opportunity to choose the sheets he wants to
print via a listbox in a userform.
I recorded a macro to see what was generated but it gives nothing but a
string of sheet names separated by commas.
Sheets(Array("Title Page", "Deployment", "Other Cots")).Select
Sheets("Title Page").Activate
With my code, I managed to reproduced the string exactly as it appeared in
the recorded macro (including the imbedded quotation marks and commas) but I
receive an error when I try to run the code. "Index does'nt belong to
selection".
Can somebody help me please.
Thanks
Pierre
I wish to give the user the opportunity to choose the sheets he wants to
print via a listbox in a userform.
I recorded a macro to see what was generated but it gives nothing but a
string of sheet names separated by commas.
Sheets(Array("Title Page", "Deployment", "Other Cots")).Select
Sheets("Title Page").Activate
With my code, I managed to reproduced the string exactly as it appeared in
the recorded macro (including the imbedded quotation marks and commas) but I
receive an error when I try to run the code. "Index does'nt belong to
selection".
Can somebody help me please.
Thanks
Pierre