Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Selecting A Column based on Cell Value

I have a Master Sheet (Data Insert) that is used as a form. It fills
in the corresponding worksheets based on the Date that the user inputs.
The last sheet in my workbook (Detail) is a summary of the inputed
Data sorted by Date on Row 2. I need to have it so when the user
inputs the data on the Data Insert worksheet it looks to that Detail
sheet looks for the matching Date in Row 2 Selects that column and
fills in that column.

Dim Input AS Worksheet
Dim Detail AS Worksheet
Dim sDate As Variant

Input = Worksheet("Data Insert")
Detail = Worksheet("Detail")

sDate = Input.Range("c2").Value

Now this is what I dont know how to do

Select Column From Detail Where Cell.Value = sDate

As when starting a Variable what type can be used to represent a Column?

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
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


All times are GMT +1. The time now is 12:31 PM.

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"