Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Copy and paste when in fliter

Hi,

When I use fliter, how can I copy and paste the data in another column? For
example:
When I filter column A with "Texas", I want to copy the data in column B
into column C. However, as column A is in fliter, I can't do this. Can anyone
have an idea to solve it? Thanks.


Column A Column B Column C
1 Texas A
3 Texas B
5 Texas D
6 Texas F


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Copy and paste when in fliter

Hi,

I think you will need to use a macro.

Sub Macro1()
Dim cell As Range
Selection.SpecialCells(xlCellTypeVisible).Select
For Each cell In Selection
cell.Offset(0, 1) = cell
Next cell
End Sub

to use this you select the filter range, say B2:B10 and run the macro.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"lalann" wrote:

Hi,

When I use fliter, how can I copy and paste the data in another column? For
example:
When I filter column A with "Texas", I want to copy the data in column B
into column C. However, as column A is in fliter, I can't do this. Can anyone
have an idea to solve it? Thanks.


Column A Column B Column C
1 Texas A
3 Texas B
5 Texas D
6 Texas F


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Copy and paste when in fliter

Thanks. Hope that the new excel has this function without the use of a macro.
I believe that a lot of people will use this function pretty often.


"Shane Devenshire" wrote:

Hi,

I think you will need to use a macro.

Sub Macro1()
Dim cell As Range
Selection.SpecialCells(xlCellTypeVisible).Select
For Each cell In Selection
cell.Offset(0, 1) = cell
Next cell
End Sub

to use this you select the filter range, say B2:B10 and run the macro.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"lalann" wrote:

Hi,

When I use fliter, how can I copy and paste the data in another column? For
example:
When I filter column A with "Texas", I want to copy the data in column B
into column C. However, as column A is in fliter, I can't do this. Can anyone
have an idea to solve it? Thanks.


Column A Column B Column C
1 Texas A
3 Texas B
5 Texas D
6 Texas F


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
Can't Copy and Paste or Paste Special between Excel Workbooks wllee Excel Discussion (Misc queries) 5 April 29th 23 03:43 AM
Ms excel 2007 (Fliter and merge issue) Lawrence[_2_] Setting up and Configuration of Excel 5 August 5th 09 11:49 AM
Sum after Filter, Count after Fliter Jimmie Excel Worksheet Functions 2 December 24th 08 04:44 PM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM
i can not fliter unique records i can not fliter unique records Excel Worksheet Functions 0 August 25th 05 07:07 PM


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

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

About Us

"It's about Microsoft Excel"