Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jen Jen is offline
external usenet poster
 
Posts: 119
Default formula/function to copy from worksheet to worksheet

Hi. I keep track of our company's inventory in a workbook using a worksheet
for each different warehouse location. I need to copy the rows from each
worsheet into another worksheet based on the amount of time the product has
been sitting in the warehouse. Is this possible? Or am I going to have to
manual copy the data?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 212
Default formula/function to copy from worksheet to worksheet

It is possible.
Please give more details, which column contains the Date (or Time), and
after how much elasped number of Days (or Time) you want to copy to other
sheet.

Sharad

"Jen" wrote in message
...
Hi. I keep track of our company's inventory in a workbook using a
worksheet
for each different warehouse location. I need to copy the rows from each
worsheet into another worksheet based on the amount of time the product
has
been sitting in the warehouse. Is this possible? Or am I going to have to
manual copy the data?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default formula/function to copy from worksheet to worksheet

That is definitely doable. If you can give us the format of the data
of the time the product has been sitting in the warehouse would help

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default formula/function to copy from worksheet to worksheet

That is definitely doable. It would help if you could give us the
format of the time data on how long the items have been sitting in the
warehouse.

  #5   Report Post  
Posted to microsoft.public.excel.programming
Jen Jen is offline
external usenet poster
 
Posts: 119
Default formula/function to copy from worksheet to worksheet

Column F is my total days on floor, and I would like to copy anything over
90days old to a another sheet. I am using Excel 2000. I have

"Sharad Naik" wrote:

It is possible.
Please give more details, which column contains the Date (or Time), and
after how much elasped number of Days (or Time) you want to copy to other
sheet.

Sharad

"Jen" wrote in message
...
Hi. I keep track of our company's inventory in a workbook using a
worksheet
for each different warehouse location. I need to copy the rows from each
worsheet into another worksheet based on the amount of time the product
has
been sitting in the warehouse. Is this possible? Or am I going to have to
manual copy the data?







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 212
Default formula/function to copy from worksheet to worksheet

See below code.
The below code assumes your data is in sheet named
"Sheet1" and you want to copy it in sheet named "Sheet2"
You can replace these names with your actual names of
sheets.

Sub CopyRows()
Dim cRange As Range, dRange As Range
Dim c
With Worksheets("Sheet1")
Set cRange = .UsedRange.Cells _
(.UsedRange.Rows.Count + 1, 1).EntireRow
Set dRange = .Range("F1:F" & .UsedRange.Cells _
(.UsedRange.Rows.Count, 1).Row)
End With
For Each c In dRange.Cells
If c.Value = 90 Then
Set cRange = Union(cRange, c.EntireRow)
End If
Next c
cRange.Copy _
Destination:=Worksheets("Sheet2").Range("A1")

End Sub


Sharad

"Jen" wrote in message
...
Column F is my total days on floor, and I would like to copy anything over
90days old to a another sheet. I am using Excel 2000. I have

"Sharad Naik" wrote:

It is possible.
Please give more details, which column contains the Date (or Time), and
after how much elasped number of Days (or Time) you want to copy to other
sheet.

Sharad

"Jen" wrote in message
...
Hi. I keep track of our company's inventory in a workbook using a
worksheet
for each different warehouse location. I need to copy the rows from
each
worsheet into another worksheet based on the amount of time the product
has
been sitting in the warehouse. Is this possible? Or am I going to have
to
manual copy the data?







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
I want to copy the same image into worksheet with a function Garry Excel Worksheet Functions 1 January 7th 10 11:28 PM
My copy worksheet function doesn't work Sasssygirrll Excel Discussion (Misc queries) 0 January 9th 07 06:12 PM
Copy data from one worksheet to another using a function or a macr Sweetetc Excel Worksheet Functions 0 April 3rd 06 08:21 PM
Is there a function to copy an entire worksheet? nickclingan Excel Worksheet Functions 3 December 23rd 05 03:23 PM
INDIRECT Function impact on Copy Worksheet BG Excel Worksheet Functions 5 July 13th 05 02:29 AM


All times are GMT +1. The time now is 07:53 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"