I am new in vba excel coding.I am generating report from sql developer and creating excel files which is attached in first image.
Capture11.PNG
Now I want to create macro and rearrange my result in Excel. For this I have created button as shown in previous image and after clicking on button I want to create new sheet and generate result as in second image.
Capture1.PNG
I have written below code while recording macro but after clicking on button I'm getting error as
Below is my vba code:runtime error 1004 method range of object _global failed
Please Login or Register to view this content.
Bookmarks