run time error 1004, method range of object global failed

%3CLINGO-SUB%20id%3D%22lingo-sub-2475365%22%20slang%3D%22en-US%22%3Erun%20time%20error%201004%2C%20method%20range%20of%20object%20global%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2475365%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture1.PNG%22%20style%3D%22width%3A%20843px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F290670i7BA0DCA11C95E15C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Capture1.PNG%22%20alt%3D%22Capture1.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20got%20an%201004%20error%20for%20method%20'range%20of%20object%20'_global%20failed.%20anyone%20can%20fix%20it%3F%20please.%20(yellow%20highlighted%20on%20the%20very%20last%20line)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2475365%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2475480%22%20slang%3D%22en-US%22%3ERe%3A%20run%20time%20error%201004%2C%20method%20range%20of%20object%20global%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2475480%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1086139%22%20target%3D%22_blank%22%3E%40myzzq945%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERemove%20.Select%20from%20that%20last%20line.%20You%20only%20want%20to%20set%20the%20source%20range%20of%20the%20chart%2C%20not%20select%20that%20range.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Capture1.PNG

I got an 1004 error for method 'range of object '_global failed. anyone can fix it? please. (yellow highlighted on the very last line)

1 Reply

@myzzq945 

Remove .Select from that last line. You only want to set the source range of the chart, not select that range.