Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default criteria form in excel with a hidden worksheet

I have a datasheet in excel that I want to put a form on the front end for.
Based on criteria entered into the form, I want it to bring back results from
the datasheet.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default criteria form in excel with a hidden worksheet

Hi,
you have a text box where you enter some information and then retrive
information from you worksheet, the below example is one I'm using where I
enter the project number to be deleted it check the project in column E and
it pull the client name from column C



res = Application.Match(Me.TxtProjectCode.Value, _
Worksheets("Projects").Range("e:e"), 0)
If IsError(res) Then
If IsNumeric(Me.TxtProjectCode.Value) Then
res = Application.Match(CDbl(Me.TxtProjectCode.Value), _
Worksheets("Projects").Range("e:e"), 0)
End If
End If

If IsNumeric(res) Then


'fill out information
Me.TxtClient.Value = .Cells(res, "C").Value

hope this helps

"Okolo" wrote:

I have a datasheet in excel that I want to put a form on the front end for.
Based on criteria entered into the form, I want it to bring back results from
the datasheet.

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
2007 Worksheet, Hidden Columns, .CSV Format Saves Hidden Column Da Tammy Excel Discussion (Misc queries) 3 April 2nd 09 11:40 PM
colors hidden in excel worksheet karter Excel Discussion (Misc queries) 2 January 16th 07 05:48 PM
Hidden Columns No Longer Hidden after Copying Worksheet? EV Nelson Excel Discussion (Misc queries) 1 December 6th 06 05:10 PM
How do I detect hidden worksheets or hidden data on a worksheet? Alice Excel Discussion (Misc queries) 4 August 24th 06 03:38 AM
form that calls hidden worksheets Monish Excel Worksheet Functions 0 October 14th 05 05:59 AM


All times are GMT +1. The time now is 11:15 AM.

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"