Це відео не доступне.
Перепрошуємо.
Automate PowerPoint Presentation using VBA. Excel PowerPoint Integration
Вставка
- Опубліковано 31 лип 2024
- Automate PowerPoint Presentation using VBA. Excel PowerPoint Integration
Subscribe, Like, and Comment. 🙏Thanks for watching.
You can now support by buying any of the Projects or Source Code.
📥Downloads: pamaitech.com/downloads/
👍 Support: paypal.me/pamaitech
✉️ Contact: contact@pamaitech.com
📌What to watch next:
Playlist: ua-cam.com/users/vbaa2zplaylists
Videos: ua-cam.com/users/vbaa2zvideos
#VbaA2z
Most practical and best VBA Programming Channel !!!
thank you so much!
Wow, thanks!
Your videos are the most practical. thank you so very much!
You're very welcome!
Feeling very grateful. Keep it up, thanks!
Thanks, will do!
Bravo!!! your contents are mind blowing.
Thanks for sharing your knowledge to VBA lovers
So nice of you
Exactly what I needed, thanks for the great video!
You're welcome!
Another great tutorial. Thanks Pamai
thanks!
Really useful video. You’re the man!
I appreciate that!
This is best tutorial i have come across in ppt automation! Keep it up 👍
Wow, thanks!
This is superb. No doubt best VBA channel
Thanks for watching!
Learn many new things from your channel. You have a great knowledge base, thank you Pamai
Happy to hear that!
This is extremely helpful - thanks!
You're welcome!
This is amazing. It's going to save a lot of time
Glad to hear. Let me know if you face issues.
Thank you so much. Your channel is a gem.
I binge-watched UI UX series :)
Glad you enjoy it!
Learned amy more things everyday. Thanks for sharing your experience and knowledge freely
So nice of you
Thank you for this video, it was very helpful.
Glad it was helpful!
Look forward to new contents from you. Thanks for your contribution to VBA community.
Much appreciated!
Thank you again for this great tutorial.
Glad it was helpful!
Excellent solution and tool. Thank you for your efforts 😀👍
You are welcome!
Brilliantly put together my friend.
Thanks, appreciate that
What a brilliant idea! Thank you
You are so welcome!
amazing how you simply VBA automation. another great video. Thank you
Thanks again!
Another amazing video. Thank you so much for teaching us
My pleasure!
Best VBA channel. Thanks sir
So nice of you
Really loved all your videos. Keep it up!
Thanks a ton!
This is excellent solution. Keep up great work.
Thank you! Cheers!
Interested to become VBA Pro? Here is 100% free guided e-course with Real-life projects.
Sign-up to participate, get assignments and a certificate:-
Sing up link = > bit.ly/3eX8tzl
Thanks for this informative tutorial.
Glad it was helpful!
Love the video ! Subscribed !
Thanks for the sub!
Brilliant, never knew about this possibility.
thank you thank you
Happy to help
Amazed at your talent. keep up great work
Thank you so much!
Wow this is excellent! Thank you
You're very welcome!
Project Uploaded. Download and have fun. Cheers!
the Projekt not longer available, i get "Sorry, the page you were looking for in this blog does not exist." from the link in the description
Thank you sir for detailed walk-through and for another practical video.
most welcome
Thanks for this amazingly practical tutorial. Keep up great work
Thanks, will do!
@@VBAA2Z cheers!
Very Very useful to me. Thanks a lot.
Glad it was helpful!
this is a great tutorial, thanks.
You're welcome!
very helpful and understandable thank you very much!
You're very welcome!
so many cool tut here!!! good work!
Glad you think so!
Great work man! 👍
Appreciate it!
This tutorial has just changed my life. Thank you so much @VBA A2Z. Please can you advise on how to export charts/ data from multiple excel workbooks into the same powerpoint slide.
Glad to know you found this video helpful. You can expand the mapping table / rng_sheets to include path for other files too and on runtime open the files and get data from it. The below series covers all important topics on VBA Programming including working with objects in lesson-1. Feel free to email me if you need more help.
ua-cam.com/play/PLo0aMPtFIFDocT-bLo37Fj_iwenKtUlKr.html
VBA A2Z - Awesome tutorial!! very deliberate, organized, and concise... I echo Mira's comment.
Much appreciated!
very informative, thanks so much
Glad it was helpful!
Thanks for excellent tutorials
You are welcome!
brilliant idea. thank you so much
Most welcome 😊
superb! will come back for more.... thank you thank you
So nice of you
this is wow. really great practical tutorial
thanks
This is perfect! Thank you very much
You're welcome 😊
this is amazing, thank you so much.
You're very welcome!
Great value provided
Thanks Kenny!
another useful tutorial. keep it up!
Glad you think so!
Great work.
Thank you! Cheers!
Thansk for amazing tutorial
My pleasure 😊
Amazing. Thank you so much
You're very welcome!
this is brilliant, thank you
You're very welcome!
This is amazing. Thanks
Glad you like it!
thanks for the useful videos.
Glad you like them!
thanks for another practical video
You're welcome
Big thanks to Pamai
you're most welcome!
It's Cool n Amazing
Glad you found it useful. Cheers!
this is great, thank you sir
You are very welcome
Amazing tutorials
Thanks
Thanks for the excellent video on VBA. I am quite new to it, but I could automate a PPT creation from excel using this code. One small think that I want to add is Header to each slide. I have added 'Header' as a column in the reference table of excel where we have Range and position details (as each slide will have different header). And have declared it as a variable too. But unable to call the same. Could you please help me on this.
Excellent tutorial. Subscribed, Liked, Saved to Playlist and Notification turned-on... :-)
Awesome, thank you!
Hello , the video is really useful. Thank you very much.
There is an issue that the position and size of an exported chart will not be respected as what I have defined in the admin sheet if I export more than 1 chart in a slide or if texts have been there in the ppt template ( before exporting charts).
Do you have any idea to solve this issue please ?
Thank you very much
Thank you Sir !
Most welcome!
Thank you and keep up the good work Sir
Thank you, I will
superb, thank you soo much
you're most welcome!
fantastic!
Thank you! Cheers!
superb - thanks
Most welcome
This is excellent sir. You're the best!
Requesting you to create video on how to create add-in for PowerPoint. Thanks for considering
thanks. Will upload soon
thank youso much!!!!
You're welcome!
thank you so much
Most welcome
great video
Glad you enjoyed it
مرسی
thanks for visit.
Hello,
Thanks for the great tutorial. Could you please help me with pasting the excel range as an editable table while retaining the source formatting ? I have tried ppPasteHTML but it's not working.
Thanks in advance for the help.
Great tutorial!
I have a question, I would prefer to copy and paste the chart itself (even if the paste would be as an image) instead of a range containing a chart. I have tried to change the code part where we define the expRng (see below) but with no success.. Any advice?
Set expRng = Sheets(vSheet$).ChartObjects(vRange$).Select
expRng.ActiveChart.ChartArea.Copy
try below samples
'---------
ActiveSheet.ChartObjects("Chart 1").CopyPicture xlScreen, xlPicture
'---------
ActiveSheet.ChartObjects("Chart 1").Chart.ChartArea.Copy
'---------
Dim Chartobj As Chart
Set Chartobj = ActiveSheet.ChartObjects("Chart 1").Chart
Chartobj.ChartArea.Copy
'---------
thank you
You're welcome
👍👍
This is great code that has the potential for saving me a lot of time! Thank you. One issue I'm having is switching from paste bitmap to paste default. I need to maintain the table format within powerpoint so I am using paste default. However when I use Pastedefault, the code does not reposition based on the parameters set. It simply will just paste into the powerpoint. When I switch to paste bitmap or paste enhanced metafile it works again. Any suggestions? Also how do I use this code to paste charts as the actual chart object and not a bitmap? Your help is greatly appreciated.
You're welcome Jeay. Please try and post this in Stackoverflow, it is possible others also experience same issue
Thanks
thanks for you support!
great
thanks!
Thanks, amazing!
I was wondering if there is any way to connect an Excel sheet, lets say employee info list (one employee per row) , with PPT and make it so that each row turns converts into a separate PPT slide, for each employee, presenting all the data in a way that we can move the cell input in the slide so it looks nice and tidy? Is there a way to automatize this so I dont have to go row by row?
Cheers :)
If you can fit all your data and charts etc. into Single Cell then of course. The app will export cell / range as snapshot to PPT.
Hellow Pamai
A nice video like always. Would appreciate if you start a series for GDI/GDI+ using VBA
Thanks for your suggestion.
Thanks for the excellent tutorial and for sharing the files. I would like to know (1) if i have two ranges in a sheet, how can i add those charts in 1 slide (2) how can i position those 2 charts in 1 slide . thank you.
try something like this.
wb.Activate
Sheets(vSheet$).Activate
Set expRng = Sheets(vSheet$).Range(vRange$)
expRng.Copy
Set slde = pre.Slides(vSlide_No)
slde.Shapes.PasteSpecial ppPasteBitmap
Set shp = slde.Shapes(1)
With shp
.Top = vTop
.Left = vLeft
.Width = vWidth
.Height = vHeight
End With
'------------------------------------------------example for 2
nd range. Replicate it like this.
Set expRng_2 = Sheets(vSheet$).Range("A2:A10")
expRng_2.Copy
slde.Shapes.PasteSpecial ppPasteBitmap
Set shp = slde.Shapes(2)
With shp
.Top = vTop
.Left = vLeft
.Width = vWidth
.Height = vHeight
End With
Thank you very much for this awesome tutorial.
I suggest using this to disable the message of updating links
With Application
.DisplayAlerts = False: .AskToUpdateLinks = False
End With
Thanks Yasser! we should be able to set this in host object as well.
Great video! Thank you.
Instead of working with ranges, is there a way to have the macro loop through Chart Names
Sheet Chart Name Width Height Top Left Slide #
IDR Charts ET1NLongTerm 5
IDR Charts ET1RLongTerm 6
I managed to get it to work with:
ActiveSheet.Shapes("ET1NetworkLongTerm").CopyPicture instead of
Set expRng = Sheets(vSheet$).Range(vRange$) '
expRng.Copy
but I can't figure out how to have the chart name dynamic. Any help would be greatly appreciated! Thank you.
Sure, you can loop through charts like this
Dim c As Chart
For Each c In Application.Charts
Debug.Print c.Parent.Name & vbCrLf & c.Name
Next c
Will it overwrite any pre-existing information in the "placeholders" or will it be copied on top of existing?
Example. I have a standard PowerPoint template with headers and various text that should always be intact. Will those dissapear or be kept?
If you want to write to the specific shape or text box you can refer to it using a name and not index. Below is latest on PowerPoint automation. Please let me know if you're stuck happy to assist.
ua-cam.com/video/s9HE5uIGYAI/v-deo.html
Very helpful video 👍 What if the ranges are on the same workbook where you run the code?
Glad to know you found this video helpful. You can expand the mapping table / rng_sheets to include path for other files too and on runtime open the files and get data from it. The below series covers all important topics on VBA Programming including working with objects in lesson-1. Feel free to email me if you need more help.
ua-cam.com/play/PLo0aMPtFIFDocT-bLo37Fj_iwenKtUlKr.html
Hi thanks for the video! How can I get the ranges to paste and resize all on the same slide? It works great putting each range on its own slide but I really need them all on one.
I haven't tried this myself. If the same is to be replicated, why not just make a copy of slides instead and change the Title using VBA
How do i change the code to support older excel versions. The tools/reference link to powerpoint object 16 isnt available in excel, only the new office 365. Therefore on my other personal laptop i get an error which i trace back to tools reference: MISSING powerpoint object 16. I untick and change it to 15 but then the code doesnt work.
Good
thanks
This is great thank you so much!
Is there a way to export a range of slides in a subfolder from excel?
Yes you can export as images or as a different PPT file. Please refer to below link
ua-cam.com/video/s9HE5uIGYAI/v-deo.html
Hi. If the ppt template already open, can teach me what to add so that the same ppt wont be open again and will paste to already opened ppt? Hope you can help.
Hi. Great videos!! I went through the steps and it all worked!! Is where anyway to paste the shapes in PNG instead of Bitmap?
Refer to line slde.Shapes.PasteSpecial ppPasteBitmap
Most welcome. Not at my desk at the moment, you should see the options in .PasteSpecial
Thank you for a great tutorial! However, I receive "compile error: Next without For" when running the macro and where it is supposed to go to Next rng. Any suggestions on how to overcome this compile error? thanks
please recheck ua-cam.com/video/dIqoXYy_Clg/v-deo.html
For each rng in Range("Rng_Sheets")
Next rng
simply amazing. How do you come up with all these
Thank you! Cheers!
Is it possible to copy only certain cells and paste them into PowerPoint? What should i do different
you process will be same.
Thank you for this unique tutorial! Can I do something like this but export by MS access instead of excel?
Yes you can. set reference to PPT Library as demo in this video and read data from Access table.
@@VBAA2Z Wow! thank you 🤩
Hi, what if you have already existing shapes in the ppt template? how do you get around this with the set shp line?
check out this full tut on PPT ua-cam.com/video/s9HE5uIGYAI/v-deo.html
thanks, but when i execute the code, getting the error as "Cant execute code in break mode..and stops at the command set shp = nothing...please help on this error.
Looks like some event from other app or your code