VBA to remove blank rows in Powerpoint table

scotts

New Member
Joined
Jun 26, 2010
Messages
42
Hi,

Can anyone help me to remove blank rows in a powerpoint table?

This is created when I have moved data from excel to PPT and it cuts across multiple slides, this is due to the limiting factor per slide being the size of the table (height). As it rolls onto the last slide there are a number of blanks rows created up to the limiting height!

Just need that final step for this iteration!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hello Scotts,

Would it not be better to delete the blank rows in excel BEFORE exporting to Powerpoint?

Whilst manipulating tables in Powerpoint can be done, it easier to do in Excel!

Caleeco
 
Upvote 0
HI Caleeco, Thanks for your response. There are no blank rows in excel. I have used xlup for the row count as well. The issue arises when I put the dat ainto PowerpOint table as the method Im using is to let the code run until the table is say 400 in height, this means on the last slide it adds some blanks rows until the last slide table reaches the 400. Hope this makes sense!!
 
Upvote 0
Further to my thoughts above I will be trying to use Do While the row count is matched but will need to p[lay around a bit with it
 
Upvote 0
Hi Scotts

Do you mind posting you code in its current state? It will be helpful to see what you're working with and may clarify the problem

Cheers
Caleeco
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top