PC Review


Reply
Thread Tools Rate Thread

Automating the copying of a line

 
 
mantrid
Guest
Posts: n/a
 
      15th Apr 2007
Hello
Can anyone suggest the best approach to add a new line of to a specific
point (specifically in the position of the next blank cell in a particular
column). The line would be a copy of one of the previous ones without any of
the inputted data but keeping all the formula on the line.
I want to do this from a button.
Also is it possible to have a input box appear so the user can input any
required data that will then be added to the new line?
Alot I know but I have not been using Excel much
Thanks
Ian



 
Reply With Quote
 
 
 
 
Earl Kiosterud
Guest
Posts: n/a
 
      16th Apr 2007
Mantrid,

If your sheet is in a standard table form (column headings, one row per item, etc), you can
use Data - Form. Normally, a row is added to the end of a table, then the table is sorted
as needed at any time, putting rows where they belong for the immediate need. Be careful
using Excel's Sort -- select either one cell or the entire table -- never a column or any
part of the table other than one cell.
--
Earl Kiosterud
www.smokeylake.com

Note: Some folks prefer bottom-posting. But if you bottom-post to a reply that's already
top-posted, the thread gets messy. When in Rome.

-----------------------------------------------------------------------
"mantrid" <(E-Mail Removed)> wrote in message
news:71uUh.1219$(E-Mail Removed)...
> Hello
> Can anyone suggest the best approach to add a new line of to a specific
> point (specifically in the position of the next blank cell in a particular
> column). The line would be a copy of one of the previous ones without any of
> the inputted data but keeping all the formula on the line.
> I want to do this from a button.
> Also is it possible to have a input box appear so the user can input any
> required data that will then be added to the new line?
> Alot I know but I have not been using Excel much
> Thanks
> Ian
>
>
>



 
Reply With Quote
 
mantrid
Guest
Posts: n/a
 
      17th Apr 2007

"Earl Kiosterud" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Mantrid,
>
> If your sheet is in a standard table form (column headings, one row per

item, etc), you can
> use Data - Form. Normally, a row is added to the end of a table, then the

table is sorted
> as needed at any time, putting rows where they belong for the immediate

need. Be careful
> using Excel's Sort -- select either one cell or the entire table -- never

a column or any
> part of the table other than one cell.
> --
> Earl Kiosterud
> www.smokeylake.com
>
> Note: Some folks prefer bottom-posting. But if you bottom-post to a reply

that's already
> top-posted, the thread gets messy. When in Rome.
>
> -----------------------------------------------------------------------


Thanks for the response Earl, but I am looking for a way to do this with som
visual basic code behind a button

ian


> "mantrid" <(E-Mail Removed)> wrote in message
> news:71uUh.1219$(E-Mail Removed)...
> > Hello
> > Can anyone suggest the best approach to add a new line of to a specific
> > point (specifically in the position of the next blank cell in a

particular
> > column). The line would be a copy of one of the previous ones without

any of
> > the inputted data but keeping all the formula on the line.
> > I want to do this from a button.
> > Also is it possible to have a input box appear so the user can input any
> > required data that will then be added to the new line?
> > Alot I know but I have not been using Excel much
> > Thanks
> > Ian
> >
> >
> >

>
>



 
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
Automating the copying of a line mantrid Microsoft Excel Discussion 2 17th Apr 2007 05:48 PM
Copying columns and automating data updates across worksheets =?Utf-8?B?amts?= Microsoft Excel Misc 6 13th Feb 2007 07:04 PM
Automating data copying between work sheets Ian1 Microsoft Excel New Users 6 17th Feb 2006 02:41 PM
Automating copying of data from different worksheets. =?Utf-8?B?c2Fuc2tfMjM=?= Microsoft Excel Worksheet Functions 2 17th May 2005 03:06 PM
Automating formula copying stu Microsoft Excel Worksheet Functions 5 30th Mar 2004 08:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:35 PM.