Avatar of Jagwarman
Jagwarman
 asked on

Copy a range of cells

Could an expert provide me with a piece of VBA code that will select a range of cells and copy it.

i.e. the range will always differ so it could be from A1 to S1000 or A1 to AC10000 or A1 to BB100 etc

It will alwys start at A1

Thanks
Microsoft OfficeMicrosoft Excel

Avatar of undefined
Last Comment
Jagwarman

8/22/2022 - Mon
Rory Archibald

How should the code know what to copy?
ASKER CERTIFIED SOLUTION
Saqib Husain

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jagwarman

ASKER
brilliant. Easy when you know how.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy