Paulsburbon
Registered User.
- Local time
- Today, 06:02
- Joined
- May 3, 2005
- Messages
- 65
Hi All,
I have a long module that is exporting data from Access to an excel spread sheet. I currently have one long function. I would like to break it up to many functions. I currently pass the excel worksheet object into a second function from the first and work with the sheet then return the sheet at the end of the second function which works. I however get an error of 91 with or object not set. If I do the same thing with a third function it doesn't change anything in the sheet. What am I doing wrong? Thanks for anyone who takes the time to read this.
Paul
I have a long module that is exporting data from Access to an excel spread sheet. I currently have one long function. I would like to break it up to many functions. I currently pass the excel worksheet object into a second function from the first and work with the sheet then return the sheet at the end of the second function which works. I however get an error of 91 with or object not set. If I do the same thing with a third function it doesn't change anything in the sheet. What am I doing wrong? Thanks for anyone who takes the time to read this.
Paul