alsoascientist
Registered User.
- Local time
- Today, 01:56
- Joined
- Mar 26, 2012
- Messages
- 39
Hi all,
I don't know if this is even possible but I thought I would put out some feelers!
I have a code that creates a query from my database and uses the record source to create a new workbook in excel with that data. I then have a code that takes control of excel and does the formatting for me, including some condidtional formatting.
What I would like to do is add a pop up form to the instance of excel when it is created that will sit on top of it with a button that will reformat the data using the same conditional formatting (the data will be sorted so if it is unsorted the formatting goes all off)
I think what I need is a code to create a code (?!) Is this even possible? I'm not looking for a complete answer (though would definitely appreciate one!) but I have been trudging through here and google and can't even see any questions about it, and am wondering if this can even be done?
Thoughts? Ideas?
I don't know if this is even possible but I thought I would put out some feelers!
I have a code that creates a query from my database and uses the record source to create a new workbook in excel with that data. I then have a code that takes control of excel and does the formatting for me, including some condidtional formatting.
What I would like to do is add a pop up form to the instance of excel when it is created that will sit on top of it with a button that will reformat the data using the same conditional formatting (the data will be sorted so if it is unsorted the formatting goes all off)
I think what I need is a code to create a code (?!) Is this even possible? I'm not looking for a complete answer (though would definitely appreciate one!) but I have been trudging through here and google and can't even see any questions about it, and am wondering if this can even be done?
Thoughts? Ideas?