Can anyone help please.
Having read some of the VBA queries on here I'm embarrassed to ask but am still new to this VBA thing so...
I have recorded some very simple 1 line Macros with buttons assigned to automate navigation around a worksheet to different ranges. Typical code=
Range("DashboardSum").Select
and that's it!!
This does the job in the worksheet I am in. I then want to copy the entire contents of the worksheet and paste into another for the next months data. All fine, however when I hit a macro button in the new worksheet I get the 'Run-time error '1004': Select method of Range class failed' message. I am not pasting into a new file, just a new sheet that I have inserted.
I have looked around different forums for related threads but they all appear to be way too complicated for what must surely require a simple bit of editing.
Can someone with a bigger brain than I please help.
thanks
poexaa2
Having read some of the VBA queries on here I'm embarrassed to ask but am still new to this VBA thing so...
I have recorded some very simple 1 line Macros with buttons assigned to automate navigation around a worksheet to different ranges. Typical code=
Range("DashboardSum").Select
and that's it!!
This does the job in the worksheet I am in. I then want to copy the entire contents of the worksheet and paste into another for the next months data. All fine, however when I hit a macro button in the new worksheet I get the 'Run-time error '1004': Select method of Range class failed' message. I am not pasting into a new file, just a new sheet that I have inserted.
I have looked around different forums for related threads but they all appear to be way too complicated for what must surely require a simple bit of editing.
Can someone with a bigger brain than I please help.
thanks
poexaa2