#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default auto fill

hiya i'm having trouble, i have a workbook with 3 sheet on

in sheet 1 i have a list off numbers, i need them numbers to be copied into
sheet 2,
here's the problem i only want the numbers showing to be copied.
i.e
sheet1
a: i filter this down to a:
1001 1001
1002 1003
1003
this list is over 1000 lines long.

what i need is for the filtered amounts to be transfered to sheet 2 without
leaving spaces in the new column.

please help

--
deejay
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default auto fill

Hi,

Simply select the filtered range and copy. Only the visible cells will be
copied and they can then be pasted without gaps into another sheet

Mike

"confused deejay" wrote:

hiya i'm having trouble, i have a workbook with 3 sheet on

in sheet 1 i have a list off numbers, i need them numbers to be copied into
sheet 2,
here's the problem i only want the numbers showing to be copied.
i.e
sheet1
a: i filter this down to a:
1001 1001
1002 1003
1003
this list is over 1000 lines long.

what i need is for the filtered amounts to be transfered to sheet 2 without
leaving spaces in the new column.

please help

--
deejay

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default auto fill

i knew that bit mate sorry my fault i wanted to know if it could be done auto
with a formular.
--
deejay


"Mike H" wrote:

Hi,

Simply select the filtered range and copy. Only the visible cells will be
copied and they can then be pasted without gaps into another sheet

Mike

"confused deejay" wrote:

hiya i'm having trouble, i have a workbook with 3 sheet on

in sheet 1 i have a list off numbers, i need them numbers to be copied into
sheet 2,
here's the problem i only want the numbers showing to be copied.
i.e
sheet1
a: i filter this down to a:
1001 1001
1002 1003
1003
this list is over 1000 lines long.

what i need is for the filtered amounts to be transfered to sheet 2 without
leaving spaces in the new column.

please help

--
deejay

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default auto fill

Hi,

Not sure about a formula but you could do this. Right click your sheet tab,
view code and paste this in. Filter the range then run the code

Sub ConFused_DeeJay()
lastrow = Cells(Rows.Count, "A").End(xlUp).Row
Range("A1:A" & lastrow).Copy Destination:=Sheets("Sheet2").Range("A1")
End Sub

Mike

"confused deejay" wrote:

i knew that bit mate sorry my fault i wanted to know if it could be done auto
with a formular.
--
deejay


"Mike H" wrote:

Hi,

Simply select the filtered range and copy. Only the visible cells will be
copied and they can then be pasted without gaps into another sheet

Mike

"confused deejay" wrote:

hiya i'm having trouble, i have a workbook with 3 sheet on

in sheet 1 i have a list off numbers, i need them numbers to be copied into
sheet 2,
here's the problem i only want the numbers showing to be copied.
i.e
sheet1
a: i filter this down to a:
1001 1001
1002 1003
1003
this list is over 1000 lines long.

what i need is for the filtered amounts to be transfered to sheet 2 without
leaving spaces in the new column.

please help

--
deejay

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
auto fill or auto search from a list or drop-down list??????? Joe H.[_2_] Excel Discussion (Misc queries) 9 August 29th 08 12:56 AM
Auto-populate, Auto-copy or Auto-fill? Jay S. Excel Worksheet Functions 4 August 10th 07 09:04 PM
using auto fill edit or fill handel fill handle or auto fill Excel Worksheet Functions 0 February 10th 06 07:01 PM
auto fill sunshine Excel Discussion (Misc queries) 2 February 9th 06 08:51 PM
auto filter and auto fill stelios Excel Programming 0 January 7th 04 11:24 AM


All times are GMT +1. The time now is 08:17 PM.

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"