Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2015, 09:57 AM
Snaybot Snaybot is offline Inserting a Merged Row after a certain text is found in a table Windows 7 64bit Inserting a Merged Row after a certain text is found in a table Office 2013
Novice
Inserting a Merged Row after a certain text is found in a table
 
Join Date: Sep 2015
Posts: 22
Snaybot is on a distinguished road
Default

Amazing thank you so much!




But is there anyway to say that if there already is a merged grey row above the "Ensure SXXXXXX" then delete that Merged grey row and replace it OR do not do anything to that "Ensure SXXXXXX"



The code works great thanks again!
Reply With Quote
  #2  
Old 09-30-2015, 01:41 PM
macropod's Avatar
macropod macropod is offline Inserting a Merged Row after a certain text is found in a table Windows 7 64bit Inserting a Merged Row after a certain text is found in a table Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Snaybot View Post
But is there anyway to say that if there already is a merged grey row above the "Ensure SXXXXXX" then delete that Merged grey row and replace it OR do not do anything to that "Ensure SXXXXXX"
Well, yes, but how is the code to know whether it should be replaced or left alone?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 09-30-2015, 02:08 PM
Snaybot Snaybot is offline Inserting a Merged Row after a certain text is found in a table Windows 7 64bit Inserting a Merged Row after a certain text is found in a table Office 2013
Novice
Inserting a Merged Row after a certain text is found in a table
 
Join Date: Sep 2015
Posts: 22
Snaybot is on a distinguished road
Default

Oh sorry,

My question may of been confusing


Is there a way to run the macro multiple times and only have 1 grey merged row per "Ensure SXXXXXX"

It doesnt really matter if it is replaced or left alone! What ever is Easier!

Thanks a bunch!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting a Merged Row after a certain text is found in a table Text position in merged table cells - word 2010 ellentk Word Tables 3 09-09-2015 03:33 PM
Inserting a Merged Row after a certain text is found in a table inserting wordwrap table causes paragraph break in text sodiumkpump Word Tables 1 08-05-2015 06:36 PM
Inserting a Merged Row after a certain text is found in a table Table will not allow sorting because "cells are merged". I can't find the merged cells. wendyloooo Word Tables 1 05-26-2015 01:19 PM
Inserting Images into a Table Cell without Moving the Text suzan Word 0 06-27-2014 05:20 AM
Inserting a Merged Row after a certain text is found in a table programmatically inserting hidden text into a Word 2010 table epid011 Word VBA 16 12-30-2013 11:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:55 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