Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-19-2015, 06:47 AM
gmaxey gmaxey is offline How to find number of coma and then add that number of rows in word using macro? Windows 7 32bit How to find number of coma and then add that number of rows in word using macro? Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Try modifying as shown:

Code:
  oRow.Cells(1).Range.InsertAfter vbCr & arrList(lngIndex - 1)
      Else
        oRow.Cells(1).Range.InsertAfter vbCr & arrList(lngIndex - 1)
      End If

__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #2  
Old 05-21-2015, 11:17 PM
PRA007's Avatar
PRA007 PRA007 is offline How to find number of coma and then add that number of rows in word using macro? Windows 7 32bit How to find number of coma and then add that number of rows in word using macro? Office 2010 32bit
Competent Performer
How to find number of coma and then add that number of rows in word using macro?
 
Join Date: Dec 2014
Location: Ahmedabad, Gujrat, India
Posts: 145
PRA007 is on a distinguished road
Default Editing Macro.

Dear Sir,
I wanted to modify macro by editing it to make some correction I neglected while asking thinking that I will figure it out later.

I want to convert table as follow


to




The word file containing both information is as follow.
https://docs.google.com/viewer?a=v&p...I2NTkwMjA0YWE3
Reply With Quote
Reply

Tags
macro vba word, microsoft word 2010, word table



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find number of coma and then add that number of rows in word using macro? Global macro across a number of different word files daffy Word VBA 6 07-08-2014 05:42 PM
Creating a table for a variable number of rows OllieOnline Mail Merge 1 03-27-2013 02:48 PM
Using macro to add variable number of rows to a protected word table Julia Word Tables 1 01-09-2013 06:04 AM
Moving data from multiple rows to 1 row for each program number ballj_35 Excel 3 08-01-2012 05:10 AM
How to find number of coma and then add that number of rows in word using macro? Fixing number or rows in a table burnsie Word 2 07-12-2011 02:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft