Hi again,
Kyle, unfortunately I can't post from my work computer (being a work document), but I have put the code below. Hopefully it will be enough, otherwise I will see what I can do.
I haven't yet learn't how to actually write code, so I have cannibalised much of this code from these forums, so please ignore the fact it is probably not very coherent
The bolded part is from what a recorded macro and keeps giving the 1004 error.
I figured out how to the copy and paste value through macro recording (in a very round about way). I have it working for one part (where it copies data on the Calculation Sheet to target cells on the Calculation sheet), but now I cannot have it copy data from the Calculation Sheet, to the Sub Cashier Receipt sheet. I have a feeling this is because I haven't defined the variables of the new sheet (?).
If I can get this sorted, I should be able to adjust it to use for creating the database. I think Then it is just the search function, which I have managed to find a simmilar code for which I will try.
Thanks in advance for your help. I'm sure this is fairly entry level stuff, but I cannot figure this out and it is not as easy as I thought to find good documentation on the creation of macro's.
Roy, I grouped them together as it was all related, but suggestion taken on board. Next time Ill make it simpler.
Look forward to your replies.
Bookmarks