Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating a list on a different worksheet/form

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Creating a list on a different worksheet/form

On Mar 24, 3:15*pm, Jeff Frazier <Jeff
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).Offse t(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"
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating a list on a different worksheet/form

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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Creating a list on a different worksheet/form

On Mar 24, 5:01*pm, Jeff Frazier
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 the items
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
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
Creating a List using a Form NFL Excel Discussion (Misc queries) 5 June 30th 09 03:07 PM
Help creating a form that will pre-fill from another worksheet SDMik Excel Programming 2 October 22nd 07 06:05 PM
creating form on worksheet Hemant_india[_2_] Excel Programming 0 June 13th 06 05:34 AM
Creating a User Form to update a list Gary Hall Excel Programming 1 January 4th 04 03:02 PM
Creating a list box in a user form Heather[_6_] Excel Programming 0 September 30th 03 09:34 PM


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