How to merge 2 or more MS word documents. You can do this by manually copying the first file and pasting on to the second file. But if you have too many files to merge and if you have to do it repeatedly, it's better to have automated setup.
Below macro will help you to merge 2 documents. You can edit the VBA code and add more files if you want. After merging, it will save as a new document. By default, it will save the new merged file under My Documents. If you want the new files to be saved under a specific location, you can mention that the file name section
Last week, Reliance
had extended its Jio preview offer for Samsung galaxy users. A lot of people are
itching to get one with a preview offer. This offer gives you unlimited 4g data,
unlimited voice, and unlimited SMS for 90 days. I am one of the lucky guys to get
a new Jio SIM with my Samsung Galaxy A5 2016. I got it on Saturday evening at 7 O’clock
and the guy at Reliance digital said it will be activated by Monday afternoon.
But I got it activated on Sunday, 2 O’ clock itself. That was very quick.
How to get the preview
offer with Samsung galaxy mobiles
First, you need to
install the Jio app called MyJio. As soon as you open the app, on the very
first screen, you will see Get Jio Preview Offer on top of the screen. Click
this and proceed with the other steps.
In the first screen
after clicking Get Jio Preview Offer, you will see the details for the offer
and terms and conditions. Click "Agree and get Jio Offer".
Next, you will have to
check the eligibility. This is nothing but a network availability in your area.
Select your state and city. Click Next.
In this step, you have
to generate the bar code. Show this bar code to the Reliance Digital salesperson. He will take this and issue a new SIM to you. You have to give him a
passport size photo and an address proof and you have to sign the CAF -
Customer Application Form at some 2-3 places. Also, you need to give your
existing mobile number, to which you will get an activation message. That’s all
from your end.
Wait for the message
from Jio on your registered mobile number. Once you get the message, call
customer care from your registered mobile number, not from your Jio number. Your Jio number may not be
activated yet. Talk to the customer care executive, he will guide you with what you
need to do. Once activated, wait for some time. Your Jio SIM will get
registered to the Jio 4G network.
Once all the activation process is complete you will get 2GB of 4g data, 100 minutes of
voice, and 100 SMS. This is part of your New Prepaid FRC. A lot of people think
that this is what we get from Jio and we won't get the unlimited offer. This is
wrong. To get the unlimited offers you have one more step to do.
How to get unlimited
offer
To get an unlimited
offer, you have to install some application like Jio Play, Jio On Demand, Jio
Beats and Jio Money. This is mandatory for Samsung users. Not sure about LYF
mobile users. You can do this by clicking on Get Unlimited Offer or manually
installing the above said apps. After installing these apps, you will see a
Submit button at the bottom of the screen. Click it and refresh the MyJio App.
Or just re-launch the app. By now you will see a message called "Congratulations,
you have activated your unlimited offer".
One important
warning, You have to use the SIM with the same mobile you have activated it
with. Otherwise, you may lose your unlimited offer.
Enjoy the unlimited
Digital life for 90 days uninterrupted.
There are many situations you may want to automate the MS Word document creation. In my previous posts, I have explained how to automate document generation using VBA. It was to create a new document. Every time you run the VBA code, it will create a new MS Word file.
Now, I will explain how to insert a text file into the document as is at a specified location into an existing document. This is very useful if you are modifying an existing document. The main feature of this VBA is, it can insert new content at a specific location. That means you can insert new content into any part of the existing document, not just append the new content at the end of the file. The first step is to create a bookmark in the word document where the text file content will be pasted. Then, open the text file using VBA code and paste the content at the bookmark. Save the file with a different name. Before saving optionally you can remove the bookmark.
Below video shows details steps to insert a text file into MS word document
How to make a copy of the current document using VBA in MS Word
It makes use of the dynamic fields to create a new document with different values. The MS word document can be used as a template file. Using this template you can create a new document without much effort. Click on the button and fill the necessary information. And the document will be created at the specified location. Edit the macro and modify the hardcoded values as per your needs. Change the location of the target file. The new file will be created and stored at this location
This video explains the detailed steps to create and use this template.
Part 1: how to use dynamic fields in ms word
https://www.youtube.com/watch?v=MlzyKniRckQ
This video shows how to create a template in MS Word. Templates are useful for automating word documents. When you have to create multiple documents with the same content but with a few new items, this template will come handy. For example, if you want to create sub-contract documents, with different clients, only the client-specific detail will change and the document format will remain the same. In this, you have to change only the client information, other things like contract rules will remain the same. In the template fill the client-specific information the generate the new document for the new client by just pressing a button. You can store repetitive values somewhere in the bookmark and place them wherever needed. The macro or the VBA code is very simple and it can be extended to add other functionalities.
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 a 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.
VBA code
-------------------------------------
Private Sub Update_Click()
Fields.Update
End Sub
-------------------------------------