Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-07-2013, 12:08 AM
macropod's Avatar
macropod macropod is offline Delete Current Row in protected Form Windows 7 64bit Delete Current Row in protected Form Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
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

The code I posted is for deleting all rows from the last row upwards in the second table in the document where the first formfield on each row is empty. It exits at the first non-empty row. It is not for deleting the 'current' row. Whilst the code could be modified to delete just the current row, what you need to figure out is how you're going to trigger the macro only when you know there are no data to add to that row. When you've figured that out, please post your query in a new thread rather than hijacking a thread dealing with a different issue.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete Current Row in protected Form Delete Rows in Protected Table with Form Fields Elan05 Word VBA 23 09-11-2014 12:47 PM
Mail Merge a Protected Form Maintaining Form Fills t/korean85 Word 1 04-07-2013 05:34 PM
Delete Current Row in protected Form Running a Macro in a protected form yessmarie Word VBA 1 05-25-2012 12:04 AM
Delete Current Row in protected Form Form protected in design mode-can't do anything DrDtMM Word VBA 12 01-23-2011 12:37 PM
Font size changes in a protected form..? jackbkmp Word VBA 0 03-03-2010 10:14 AM

Other Forums: Access Forums

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