Hello All,
I have to create a process that breaks down a dataset by email addresses and puts all of the info for each address into a separate Excel workbook. I've got that taken care of. My process creates around 50 separate .xls files that will be emailed out to the 50 individuals. My users want each workbook to be password protected using a convention like "AWF06032010", basically a set of letters concatenated to the current date in mmddyyyy format. All of the workbooks will have the same password for that day. How do I set the password for these spreadsheets in my VBA code? I've been scouring the 'net for Excel automation to use in Access but aren't having much luck. I'm using Office 2007.
Thanks for any help or tips,
John
I have to create a process that breaks down a dataset by email addresses and puts all of the info for each address into a separate Excel workbook. I've got that taken care of. My process creates around 50 separate .xls files that will be emailed out to the 50 individuals. My users want each workbook to be password protected using a convention like "AWF06032010", basically a set of letters concatenated to the current date in mmddyyyy format. All of the workbooks will have the same password for that day. How do I set the password for these spreadsheets in my VBA code? I've been scouring the 'net for Excel automation to use in Access but aren't having much luck. I'm using Office 2007.
Thanks for any help or tips,
John