Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 11-06-2013, 07:22 AM
C J Squibb C J Squibb is offline Add multiple rows to Excel 2010 table at cursor position Windows 7 64bit Add multiple rows to Excel 2010 table at cursor position Office 2010 32bit
Novice
Add multiple rows to Excel 2010 table at cursor position
 
Join Date: Aug 2013
Location: Essex
Posts: 14
C J Squibb is on a distinguished road
Default

MikeC, thanks for your help. That's a very interesting document. But I still have a problem. I have used Bob Bridges suggestion and added multiple rows using EntireRow.Insert; I have also tried to add a single row with Selection.ListObject.ListRows.Add (intCurRow - intHeader). In both of these instances, my code simply stops running after completing this line. Therefore I cannot put it in a For... Next... or Do Until... loop or carry out any further instructions.

I have found that even if I add table rows manually, it is not copying the formulae down, possibly because the formulae offer suggested values which are frequently overwritten. I therefore need to add my rows, and continue by entering the formulae into the appropriate columns of the new rows.

Any idea why my code stops as soon as I insert a row?
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula that can merge multiple rows with the same ID into one row Hilwey Excel 3 07-08-2015 08:50 PM
Add multiple rows to Excel 2010 table at cursor position Word 2010 and Excel 2010 Mail merge - multiple headers robby Word 3 04-18-2012 06:37 PM
Displaying cursor position within cell MiamiTom Excel 0 11-18-2011 09:02 AM
Add multiple rows to Excel 2010 table at cursor position Setting cursor after last Table of Contents DugganSC Word 1 09-07-2011 11:42 AM
Retrieve position of Cursor - x & y positions SDondeti PowerPoint 0 05-19-2011 11:39 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:23 PM.


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