Having issues with blank rows being added below last row, making 75+ blank pages in a pdf after looping through sheets and moving data using vba. No formula/test I have tried believes there is any data in any of the “blank” rows/cells, so I have no idea why they are being included in usedrange. I rely on this to adapt print view and automate pdf creation, and while I can automate removing the blank rows, I would like to solve the source of the issue. Please let me know what you think!

likehelpful
Posting as :
works at
You are currently posting as works at

Are they formatted?
Does the problem go away if you “clear all” in this rows before running the vba?

like

Correct!

Make sure your PDF export setting are only exporting the selection and not the sheet… otherwise maybe make a hardstop bottom row full of “x” in every cell and have your macro search for that row as the bottom -1..?

like

I would love to use named ranges but the range is different on every sheet.

Related Posts

Partners,

My firm is immature in guiding development planning. I have energy to accelerate to the next level of responsibility.

What evidence distinguishes an analyst as ready for the next level?

like

Just wondering, any Ismailis out here?

Has anyone come to you for help?

Remember that these people asked Allah first, and Allah gave them your address for you to help them.

like

Do recruiters ever reply to any of these threads

funnylike

Can anybody please refer me to UBS?

YOE- 10.6

Tech stack- .NET, MVC, WCF, Entity Framework, WEB API, Microservices, SQL, JavaScript, Typescript, Bootstrap, Azure, Git Devops, Jira, API testing, Vulnerability management, Performance analysis

Can anyone working for DT’s ARA or PwC’s CMAAS tell me what does their job specifically include, hours and exit opportunities?

like

Need a sanity check here.

When I joined my current company, we were on a quarterly bonus structure with guaranteed payouts each quarter. This was, in fact, how the recruiter said he could meet my salary request.

The company just announced we are moving to annual payouts only, with no payments for 2023 until May 2024. There are no raises happening.

This amounts to 12% less money in my pocket in 2023 plus inflation.

Is this standard, or should I be looking for opportunities elsewhere?

like

Amazon Web Services Any security TPM out here who can help me prep for an upcoming interview. Can pay an equitable amount for your time. Amazon Web Services Amazon

like

Can anyone please refer me, have 2 years experience in Java, SQL, Spring Boot, Hibernate and Microservices.
Current company - Cognizant
LWD - 20th October

Thanks,

like

I’m having a problem with micro management and design by committee starting to rear its ugly head in my company. Product team lead not trusting his design team to make design decisions, making unreasonable demands and putting undue pressure on us. Any advice on how to address this before it becomes a reason to start looking for other work?

like

Anyone working towards early retirement? Whats your target $, age and location?

likehelpful

is real estate appraisal/valuation a joke? is the average appraiser capable of doing, or doing technical valuation work? genuinely trying to understand how technical the work is as i am graduating from real estate and finance program and considering my job options.

funny

Anyone got premium bagpack?

like

Are you looking to transfer into Deal Advisory - Financial Due Diligence? PwC is hiring qualified candidates at all levels. DM me if you’re a qualified candidate (at least two busy seasons in audit or prior FDD experience) from a top 10 accounting firm (plenty of open positions nationwide looking to get filled ASAP) and I’ll try my best to help you. Please do your research into FDD prior to reaching out.

like

Current CTC: 19
Exp: 7.1
Stack : Fullstack with angular and java
What salary I can expect from VMware any suggestions?

like

What are the approx bonuses within S&C at the C and M levels?

like
like

If one Organization HR told me we will blacklist you. So I want to know exactly they can do blacklist or just showing fear of Blacklist ?

Actually I had one offer of 13 lacs my company retained me with 14 lacs, I didn't want to Re negotiate with that Organization because of Loyalty issue with current organization. So That Company HR scold on me and told me we will blacklist you.

Please Guide, is it true, I will be blacklisted?

Organization is World largest petrochemical refinery.

like

Anyone registered their vehicle with BH number plate? Is GST number mandatory on form 60?

like

Additional Posts in Excel Genius

I’m referencing a cell (numeric) to a text cell. Is there a way to format that number to include commas? See example in comments.

This is dumb, but. How can I pull and average the numbers in column b associated with the 4 values in column a? So, (sum of all As/total number of As) without filtering?

Post Photo
like

Struggling with this:
Suppose I want to shortlist companies that serve the priority industry vertical of a country. So I have the industries served by company (one column for each industry) and (cont)

Would anyone be willing to teach me vlookup?

like

I’m calculating a bunch of totals and averages by category on one worksheet by filtering data in different categories from another worksheet. However, when I change the filters, the previously..(cont)

Has anyone had an issue with index match and lookups returning NA when trying to manipulate data from a password protected workbook?

Current IE here. What are some Time Motion Study Softwares that are out there and you use in your jobs?

like

What are your top excel functions you use in finance / accounting - besides vlookup - Pivots - sumifs - count - index. I have an interview coming up which will have excel based technical questions. Not sure what other functions are considered important in the accounting finance world.

like

Help me save the day: have a massive excel file (600k rows) with duplicate records (column a, b and c are duplicate, not a duplicate if a and b are the same though). How can I filter for just these records? If it didn’t crash excel I could concat into one column, Conditional format for duplicates, and sort by color. What’s a work around?

likehelpful

How do I set the formula to calculate “If x falls between 1-10, return 1-10, if it falls between 11-20, return 11-20, and so on”

like

Does anyone know what purple tables mean in Excel?

I know about green and orange, but never saw purple before and trying to figure it out.

likefunny

I created a macro to help me save time on this onetime task and now whenever I open my excel, a blank excel opens with the name of the macro. How do I get rid of it?

like

Anyone else have a formatting pet peeve and get annoyed when people don’t have a blank first column and row in tabs? I.e headers/data in cell A1

My first manager told me this, and I’ve followed it to a T since.

likesmart

Hi All,
Looking to automate a manual process for the client and thinking of creating macros for with VBA. Has anyone done anything similar?

In the process of learning but wanted to reach out for any tips, tricks and advice anyone may have.

Thanks I’m advance.

like

Client sent over a 90 MB model this evening. Took 10 minutes to open and a fraction of that to crash. Can’t wait for tomorrow 😭

like

How do I look up values from a column in a row? E.g. Values in A1:A6 in B2:F2?

like

I am trying to recreate this without the numbers at the end. Any advice?

Post Photo
likehelpful

I’m helping my GF with excel and need help lol. She works at a hospital and is trying to make an excel schedule for doctors to reserve rooms. She wants drop downs for days of the week (column K) and also different drop down menus in column P for the reserved time slots.

Is it possible to do this with two sets of drop downs (days of week + time slots) and not use index match here? She could make 5 tables for each day of the week, but prefers one table that can be easily navigated by doctors.

Post Photo
like

Is there any easy way to handle FedEx/ups tracking numbers? I’d like to have some formula that would just show the status in another cell.

like

EY trying to move away from Excel . Think it’s possible? Want to see it happen?

like

New to Fishbowl?

Download the Fishbowl app to
unlock all discussions on Fishbowl.
That was just a preview…
Sign Up to see all discussions
  • Discover what it’s like to work at companies from real professionals
  • Get candid advice from people in your field in a safe space
  • Chat and network with other professionals in your field
Sign up in seconds to unlock all discussions on Fishbowl.

Already a user?
Login here

Share

Embed this post

Copy and paste embed code on your site

Preview

Download the
Fishbowl app

See what’s happening in your industry
from the palm of your hand.

A phone with Fishbowl app

Scan your QR code to download
Fishbowl app on your mobile

Download app

Sign up for free to view this conversation on Fishbowl

By continuing you agree to Terms of Use and Privacy Policy

Already have an account? Log in

Sign up for free to continue using Fishbowl

By continuing you agree to Terms of Use(New) and Privacy Policy(New)
Messaging rates may apply

Already have an account? Log in

For account settings, visit Fishbowl on Desktop Browser or

General

Legal