Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automatically copying specified rows from a sheet to another

I have an approximately 2000-line table with one one unique identifying
number on every line. I need to copy some of those lines to a new table very
often and until now i've copy-n-pasted the required lines by hand. Now my
employer wants me to make it easier. It should require the user to insert
only the identifying number and the program should then find the correct line
from the original table and copy it to the new table on the selected line.

As I am new to script Excel or pretty much anything, i dont really have even
a glue where to start. Anyone who can help with the structure and/or point to
some online resources that could be helpful?

Cheers, Ossi Hannula
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automatically copying specified rows from a sheet to another

To make things a bit more clear: I have create a template table in which i've
already set some functions etc. For every new job, we take the template and
add required lines there. The number of cells per line is equal (constant) in
both the original table and the template in which they are supposed to be
added.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Automatically copying specified rows from a sheet to another

My first attempt to make it easier would be to do some stuff manually to see if
that helps.

Try applying Data|filter|autofilter to that column of identifiers.

filter to show only the values you want.
copy the visible cells to a different worksheet.

If you really need a macro, try recording one when you do it manually.

Ossi Hannula wrote:

I have an approximately 2000-line table with one one unique identifying
number on every line. I need to copy some of those lines to a new table very
often and until now i've copy-n-pasted the required lines by hand. Now my
employer wants me to make it easier. It should require the user to insert
only the identifying number and the program should then find the correct line
from the original table and copy it to the new table on the selected line.

As I am new to script Excel or pretty much anything, i dont really have even
a glue where to start. Anyone who can help with the structure and/or point to
some online resources that could be helpful?

Cheers, Ossi Hannula


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying rows from one sheet to another.... Buyone Excel Worksheet Functions 1 June 20th 07 10:56 PM
copying rows from next sheet over ayl322 Excel Discussion (Misc queries) 3 November 22nd 05 07:39 PM
Copying (Master) column to another sheet to automatically update LostInVirtualSpace Excel Worksheet Functions 0 September 19th 05 06:57 PM
Automatically copying fomulae when Inserting rows Ian Goodhardt Excel Discussion (Misc queries) 3 August 17th 05 07:01 PM
Copying rows to a new sheet Dave Excel Programming 4 September 9th 04 01:06 PM


All times are GMT +1. The time now is 10:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"