#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Lookup

I've been struggling with this problem for awhile now. I have recorded
macros to try and get the information I need, but I think because it's
involving a filtered spreadsheet, some of the macros aren't working.

So, on to trying this - Lookup. I have a spreadsheet with +/- 75 columns
and can be up to 60 rows. The common denominator for the search I want to
use is the PM's initials. I need to provide a list per PM of his
information. And I need to attach this code (?) to a button, e.g. when they
pick their button, the "filtered" list only has their information included in
that worksheet.

The one thing that wouldn't work on the macros is to return the filtered
list to show all before returning to the Main worksheet where the buttons
reside.

Another was they could choose the job number in their filtered list and then
show all resources attached to that job number. That worked fine, but there
was no way to just "go back" to the previous screen to show their own jobs
again without going all the way back to the main screen and then going in
again.

Hope someone can help me :)

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lookup


I assume by PM you mean the person using the program?, why not just
filter the sheet for that user on opening and then back to all on close,
you could do it by their windows logon using
Code:
--------------------
Environ("username")
--------------------
you would of course have to hard code all their usernames or look them
up on a hidden sheet but it would be a bit smarter than having lots of
buttons.

Alberta Rose;507202 Wrote:
I've been struggling with this problem for awhile now. I have recorded
macros to try and get the information I need, but I think because it's
involving a filtered spreadsheet, some of the macros aren't working.

So, on to trying this - Lookup. I have a spreadsheet with +/- 75
columns
and can be up to 60 rows. The common denominator for the search I want
to
use is the PM's initials. I need to provide a list per PM of his
information. And I need to attach this code (?) to a button, e.g. when
they
pick their button, the "filtered" list only has their information
included in
that worksheet.

The one thing that wouldn't work on the macros is to return the
filtered
list to show all before returning to the Main worksheet where the
buttons
reside.

Another was they could choose the job number in their filtered list and
then
show all resources attached to that job number. That worked fine, but
there
was no way to just "go back" to the previous screen to show their own
jobs
again without going all the way back to the main screen and then going
in
again.

Hope someone can help me :)



--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=139450

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Lookup

Thanks for the response. Yes the PM (Project Manager) is the person using
the program. This filtering would be perfect except that they have to
reassign resources to the contract numbers and if they can't choose specific
numbers that are not assigned to them yet, they wouldn't even see them upon
opening. If this was in Microsoft Access I would know exactly what to do :)

Laurie

"Simon Lloyd" wrote:


I assume by PM you mean the person using the program?, why not just
filter the sheet for that user on opening and then back to all on close,
you could do it by their windows logon using
Code:
--------------------
Environ("username")
--------------------
you would of course have to hard code all their usernames or look them
up on a hidden sheet but it would be a bit smarter than having lots of
buttons.

Alberta Rose;507202 Wrote:
I've been struggling with this problem for awhile now. I have recorded
macros to try and get the information I need, but I think because it's
involving a filtered spreadsheet, some of the macros aren't working.

So, on to trying this - Lookup. I have a spreadsheet with +/- 75
columns
and can be up to 60 rows. The common denominator for the search I want
to
use is the PM's initials. I need to provide a list per PM of his
information. And I need to attach this code (?) to a button, e.g. when
they
pick their button, the "filtered" list only has their information
included in
that worksheet.

The one thing that wouldn't work on the macros is to return the
filtered
list to show all before returning to the Main worksheet where the
buttons
reside.

Another was they could choose the job number in their filtered list and
then
show all resources attached to that job number. That worked fine, but
there
was no way to just "go back" to the previous screen to show their own
jobs
again without going all the way back to the main screen and then going
in
again.

Hope someone can help me :)



--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=139450


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
lookup help. lookup result based on data in 2 columns lcc Excel Worksheet Functions 3 April 6th 10 01:20 PM
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU JCC Excel Discussion (Misc queries) 5 June 26th 09 09:15 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


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