PC Review


Reply
Thread Tools Rate Thread

Adding a specified number of rows in Excel, via a User Form

 
 
New Member
Join Date: Jun 2011
Posts: 1
 
      21st Jun 2011
Hello,

I am trying to create a User Form to use with a new Excel log I am setting up, and I'm stumped on how to get a specified number of rows inserted.

The User Form I have includes a Combo Box with some set numbers in, currently 1 - 13. What I would like is on clicking OK, whichever number was specified in the combo box is how many new rows are inserted.

I already have the code to find the last row used, so I now just need the new rows inserted. I also ideally need them to retain the formatting of the rows above them. Any idea's?

Also, while I'm here, I then need to insert information from other fields on the User Form, for example a specified script name, into those boxes that I have just inserted. Is this possible or am I getting away from myself?

Any help would be greatly appreciated.

Thanks
Apollo
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding rows and copy/paste through a user form DuncanL Microsoft Excel Programming 0 15th Aug 2007 12:24 PM
Adding to excel user form combobox Gimp Microsoft Excel Programming 3 26th Jan 2007 05:02 PM
Changin number when adding rows =?Utf-8?B?WXZvbm5l?= Microsoft Excel Programming 1 17th Nov 2004 01:31 PM
Adding a counter to a User Form in Excel Pam Microsoft Excel Programming 2 17th Aug 2004 02:55 PM
Re: adding a sequence number to rows John Spencer (MVP) Microsoft Access Queries 0 22nd Aug 2003 01:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:50 AM.