PC Review


Reply
Thread Tools Rate Thread

Creating a list on a different worksheet/form

 
 
Jeff Frazier
Guest
Posts: n/a
 
      24th Mar 2008
We have developed a listing of inventory items with a cell associated with
each item that indicates if it is present. Is it possible to have the items
not present to be exported or listed on a different form or worksheet.
 
Reply With Quote
 
 
 
 
GTVT06
Guest
Posts: n/a
 
      24th Mar 2008
On Mar 24, 3:15*pm, Jeff Frazier <Jeff
Fraz...@discussions.microsoft.com> wrote:
> We have developed a listing of inventory items with a cell associated with
> each item that indicates if it is present. *Is it possible to have the items
> not present to be exported or listed on a different form or worksheet.


Yes, you can do something like this

Sub MOVETHEM()
Dim CELL As Range
For Each CELL In Range("B1:B50")
If CELL.Value = "NOT PRESENT" Then
CELL.EntireRow.Copy
Worksheets("Sheet2").Rows("65536").End(xlUp).Offset(1, 0)
End If
Next CELL
End Sub

I used range ("B1:B50") as the column that identfies if it's "PRESENT"
or "NOT PRESENT"
 
Reply With Quote
 
Jeff Frazier
Guest
Posts: n/a
 
      24th Mar 2008
At the risk of sounding under-informed, can you point me in the direction as
to where that would be entered?

"Jeff Frazier" wrote:

> We have developed a listing of inventory items with a cell associated with
> each item that indicates if it is present. Is it possible to have the items
> not present to be exported or listed on a different form or worksheet.

 
Reply With Quote
 
GTVT06
Guest
Posts: n/a
 
      25th Mar 2008
On Mar 24, 5:01*pm, Jeff Frazier
<JeffFraz...@discussions.microsoft.com> wrote:
> At the risk of sounding under-informed, can you point me in the direction as
> to where that would be entered?
>
>
>
> "Jeff Frazier" wrote:
> > We have developed a listing of inventory items with a cell associated with
> > each item that indicates if it is present. *Is it possible to have theitems
> > not present to be exported or listed on a different form or worksheet.- Hide quoted text -

>
> - Show quoted text -

Enter it in a module in VBE.
from excel push Alt+F11 then right click on your workbook on the left
side of the window and Insert/Module and paste that code in the screen
on the right with the module selected. after that, you should have a
macro by the name of "MOVETHEM" when you run that macro it will
perform the action
 
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
Creating a list from a different worksheet Hammer Microsoft Excel Misc 1 11th Feb 2010 01:12 PM
Help Creating a Drop Down List from a List in another worksheet Pat Microsoft Excel Misc 1 25th Nov 2008 06:44 PM
Help with creating a list inside a worksheet mzehr Microsoft Excel Misc 0 9th Sep 2004 07:10 PM
Re: Help with creating a list inside a worksheet George Nicholson Microsoft Excel Misc 0 9th Sep 2004 06:57 PM
Re: CREATING A MAIL LIST from a WORKSHEET Gord Dibben Microsoft Excel Worksheet Functions 0 25th Jun 2003 09:16 PM


Features
 

Advertising
 

Newsgroups
 


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