Тёмный

Excel VBA Introduction Part 27.2 - Creating and Updating Linked Word Tables 

WiseOwlTutorials
Подписаться 207 тыс.
Просмотров 35 тыс.
50% 1

If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!
You can buy our Introduction to Excel VBA book here www.lulu.com/shop/andrew-goul...
By Andrew Gould
www.wiseowl.co.uk - Using Excel VBA to create a linked table in a Word document is pretty straightforward. Where things get tricky is when you move or rename the original Excel file. This video explains how to create the original linked table followed by how to update all of the links in a Word document by looping over its Fields collection. The end of the video also shows how to attach the code to the save events of the workbook so that you don't even have to remember to run it yourself!
Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, SQL Server, Reporting Services, Analysis Services, Integration Services, ASP.NET, C#, Visual Basic, Microsoft Access, Microsoft PowerPoint, Microsoft Word, Microsoft Project, Microsoft Publisher, Microsoft Visio and more

Опубликовано:

 

11 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@The_Reactive_Indian
@The_Reactive_Indian 3 года назад
Brilliantly explained man, I literally wasted countless hours googling this topic. when I came to this...
@peterhontaru5537
@peterhontaru5537 6 лет назад
Andrew you're a fantastic teacher - if I was to be extremely picky the only thing missing from these series would be some "homework" after each video - obviously we could think about that ourselves but just thought I'd mention it as you might be able to suggest 'better' things than we could at this initial stage. And I love how you revisit the previously taught concepts in new lessons which helps reinforce them.
@RohithKK-uh7pp
@RohithKK-uh7pp 3 года назад
Fentastic Sir.
@WiseOwlTutorials
@WiseOwlTutorials 3 года назад
Thank you Rohith!
@maurocastagnera8949
@maurocastagnera8949 6 лет назад
You're a genius! No other words are needed!
@kapibara2440
@kapibara2440 Год назад
Another fantastic video ❤ Thank you!
@WiseOwlTutorials
@WiseOwlTutorials Год назад
Thank you for watching!
@krn14242
@krn14242 7 лет назад
Great job once again Andrew. Thanks so much.
@donbogdala5428
@donbogdala5428 7 лет назад
Excellent tutorial! I hope to see this concept explained with PowerPoint! However, I am already thinking how to implement these techniques! Thanks for sharing
@tajsay
@tajsay 4 года назад
really outstanding...Andrew.!
@victoropere2107
@victoropere2107 6 лет назад
just fantastic
@marcip1456
@marcip1456 7 лет назад
Great video as always! Did you figure out the infinite loop issue for the for / each method?
@Search4Knowledge
@Search4Knowledge 5 лет назад
Hi Andrew, Another awesome video! I had a question. Does this also work for linked graphs?
@queenm5962
@queenm5962 3 года назад
Than you so so much this is so helpful, i have a quick question what if I want to open word template and not an new word doc how would i could that to make it happen? also how can I code a page break between each table instead of a paragraph line?
@cullenharris1837
@cullenharris1837 4 года назад
Thank you!! What if the range of cells to copy varies? Is there a way to automatically determine the range in each sheet?
@queenm5962
@queenm5962 3 года назад
hi @Cullen Harris, he talks about your question in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FwcEFCwGtjo.html i hope this helps you out
@abhisheksaraswat6753
@abhisheksaraswat6753 4 года назад
Hi Andrew, how are you? Could you please let us know how we can combine multiple pdf files into excel using VBA Programming. Plz upload a video if you can. Thank you so much in Advance.
@gianpaolo19
@gianpaolo19 Год назад
Hello!! I think I found the reason why the for each loop doesn't work at 21.44..... I think becasue of this "For Each doesn't work because updating the field destroys the object, so it loops over the same object"
@RaineyXia
@RaineyXia 7 лет назад
I have some problems with updating the data. When I save the excel file and then try to update the data, the data in the word will not update any longer. Why this happens?
@kimrainman
@kimrainman 6 лет назад
same issue here why!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@kimrainman
@kimrainman 6 лет назад
I realized this bug may be due to office 2013. Are you also using office 2013? I think the latest office shouldnt give u this kind of bug
@elviswu7136
@elviswu7136 6 лет назад
Hi bro, same issue here. The idea may be found in the link below from Microsoft.com answers.microsoft.com/en-us/office/forum/office_2013_release-word/embedded-links-in-word-from-excel-problem-opening/35460e5e-7316-44b5-b4c2-520a02a5dc53. See the reply of the guy on June 6, 2015 Inspired by this, only for the purpose of learning(which means not from my practical experience), i solved this issue by checking "Enabling all macros" in trust center. It works. i have tried. However, this is a way to solve it. I can't find another solution to this problem right away.
@elviswu7136
@elviswu7136 6 лет назад
Nevertheless, i found that i just didn't check the silly Developer Macro Settings in Microsoft Word!!! If you check that box, you can find that even with Macro Settings "Disable all macros with notification", the updating data issue would be solved.
@suribhandari1985
@suribhandari1985 Год назад
Hello Sir - I need help in MS word VBA. I am running loop in ms word table for each row and each row is having a Bookmark as I am pasting data from excel to word but I want to retain the bookmark.
@WiseOwlTutorials
@WiseOwlTutorials Год назад
Hi Surendra! Maybe these links will help www.mrexcel.com/board/threads/vba-copy-excel-table-to-word-bookmark-but-keep-bookmark.1137435/ wordmvp.com/FAQs/MacrosVBA/InsertingTextAtBookmark.htm
@aryan-letslearntogether1635
@aryan-letslearntogether1635 3 года назад
Hello, I am trying to update links from another excel file where the source data file remains same but the name changes eg. Soucedata for 12 07 2021 will change to source data 13 07 2021 how can I update the links from another excel work book where the name changes daily ?
@WiseOwlTutorials
@WiseOwlTutorials 3 года назад
Hi there! I don't know the answer to that one. I'd recommend searching for an answer on StackOverflow.com and, if you can't find one, post a question there. I hope you find the answer!
Далее
Excel VBA Introduction Part 43.1 - ByRef and ByVal
26:12
Auto Export Excel Data to MS Word Form
3:11
Просмотров 92 тыс.
Excel VBA Introduction Part 54.2 - The Switch Function
25:10
Automate Word Document from Excel Using VBA
7:45
Просмотров 50 тыс.
Quick Parts vs AutoText: When is one a better choice?
17:39