![]() |
From forms into a new row neatly?
Hi,
Can you recall this nifty looping way of populating new row when form is OK-yed? I believe this technique gives code immunity to adding new fields|columns. Txs Paul |
From forms into a new row neatly?
rw = 10
i = 1 for each ctrl in userform1.controls Cells(rw,i) = ctrl.Value i = i + 1 Next -- Regards, Tom Ogilvy count wrote in message ... Hi, Can you recall this nifty looping way of populating new row when form is OK-yed? I believe this technique gives code immunity to adding new fields|columns. Txs Paul |
All times are GMT +1. The time now is 12:10 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com