About
Pricing
Community
Teams
Start Free Trial
Log in
upobDaPlaya
asked on
11/14/2018
Why does Used Range select 1,000,000 rows
When I use the below used range it selects over 1,000,000 rows ? Why as I only have 5 rows of data...I even manually deleted row6+ and all Columns beyond COl D and still no luck..
Worksheets("Sheet1").Activate
ActiveSheet.UsedRange.Select
Select all
Open in new window
VBA
Microsoft Excel
Microsoft Office
4
1
Last Comment
Martin Liss
8/22/2022 - Mon
Wayne Taylor (webtubbs)
11/14/2018
After deleting the rows and columns, save, close and reopen your workbook.
ASKER CERTIFIED SOLUTION
Martin Liss
11/14/2018
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.
upobDaPlaya
11/14/2018
ASKER
Perfect...thanks everyone
Martin Liss
11/14/2018
You’re welcome and I’m glad I was able to help.
If you expand the “Full Biography” section of
my profile
you’ll find links to some articles I’ve written that may interest you.
Marty - Microsoft MVP 2009 to 2017
Experts Exchange Most Valuable Expert (MVE) 2015, 2017
Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
Experts Exchange Top Expert VBA (current)
Your help has saved me hundreds of hours of internet surfing.
fblack61