Загрузка страницы

How to create MS Word document automatically with Dynamic fields

http://www.krishtalk.com/

Excel text manipulation
http://www.krishtalk.com/2018/10/practical-text-manipulation-using-mid.html

Useful Tips on Office Automation

How to create ms word templates

This video shows how to create a template in MS Word using Quick parts, Fields, Bookmarks and VBA macros. Templates are useful for automating word documents. You can store repetitive values somewhere in the bookmark and place them wherever needed.
Download the example here

http://krishtalk.com/2015/05/how-to-create-template-in-ms-word.html

There are 3 steps to create MS word templates.

Step 1

Create a section of bookmarks, which hold the value you enter. These are hidden.

Step 2
Create field code to populate the values. Use ASK filed to get the values from user and store them in the bookmarks created earlier.

Step 3

Create fields where you want to place the values stored in bookmarks. use the FORMULA field to get the value from bookmark and place them wherever you want
code REF Bookmark name

Finally you can create a macro to update all the values. For this you can create a button and assign the code to it.

code
Private Sub Update_Click()
Fields.Update
End Sub

Subscribe to my channel:
http://www.youtube.com/user/krishnayess?sub_confirmation=1
YouTube Channel: https://www.youtube.com/krishnayess
My Blog: http://krishtalk.com/
Google Plus: https://plus.google.com/+KrishSanj/
Twitter @iTwittt
https://twitter.com/iTwittt

Видео How to create MS Word document automatically with Dynamic fields канала Krishna S
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
25 июля 2015 г. 23:49:19
00:12:05
Яндекс.Метрика