![]() |
#1
|
|||
|
|||
![]()
Hi all
i have a word document in that i have to change the table values using a macro instead of copy/paste. i have a table like this (1row and 5 columns) 1 SERVICE CHARGE 2,000.00 0.00 2,000.00 but i want to change the table in to 2 rows and 5 columbs like below 1 WATER WASH 500.00 0.00 500.00 2 GENERAL SERVICE 1,500.00 0.00 1,500.00 regards raamkrish |
#2
|
||||
|
||||
![]()
For a single table, this would be way faster to do manually than for anyone to write a macro to do it. And, if you have multiple tables with different parameters, even that would be way faster to do manually, since we have no idea what all those parameters might be.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Thanks for your reply.
I am creating building block for each and every table and using it on daily work. Looking for a code like find and replace method, that adds a additional row and updates the data in rows |
#4
|
||||
|
||||
![]()
Adding another row doesn't require a building block. For a basic table, all you need do is click on the table and choose Table Tools|Layout>Insert Above or Table Tools|Layout>Insert Below.
If you want to replicate a table row containing content controls before the last row in a table, see, for example: https://www.msofficeforums.com/word-...html#post87989 https://www.msofficeforums.com/word-...html#post38461 https://www.msofficeforums.com/word-...tml#post145675 Beyond that, it's impossible to code for something as vague as "updates the data in rows".
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jalea148 | Word Tables | 5 | 06-03-2018 04:05 PM |
Change left sidebar with macro in Office 2016 | swenniels | Word VBA | 0 | 03-19-2018 11:52 PM |
![]() |
PKW57 | Word Tables | 2 | 05-26-2016 05:15 AM |
Macro to pull data out of a Word table | shanemarkley | Word VBA | 20 | 05-07-2015 01:36 PM |
Want to change Macro to copy and paste data to new sheet | Vortex69 | Excel Programming | 0 | 12-23-2014 09:53 PM |