This is not a task for a beginner, in fact it is a bit beyond intermediate level as well as it involves saving to a byte array. I hate to say this, but you may be out of luck as this is not something that most of the people here that can actually give you the code (not a macro) to do, would be able to sufficiently explain to you how to use it.
We can hope that is the case but I'm not all that confident. This is something that I've only attempted ONCE and it was not easy for me (and I did that about 2 years ago when I had about 10 years of experience with Access).