Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default "Find" question

We have quotes on individual spreadsheets and a summary
spreadsheet listing all quotes. When a quote is sold we
want to look up the quote number on the summary sheet and
insert the date in a column for date sold. I have code
below but cannot get the find part.(quote # is in F3 of
the quote and column 19 in quotetracking. D3 in the quote
is the date)
Windows("quote-2004.xlt").Activate
Dim rngCell As Excel.Range
Set rngCell = ActiveSheet.Range("F3")
rngCell.Select
Windows("QuoteTracking.xls").Activate
Application.Goto Reference:="R1C19"
Selection.End(xlDown).Select
Set c = .Find(rngCell, LookIn:=xlValues)
ActiveCell.Offset(0, 11).Activate
Windows("quote-2004.xlt").Activate
Dim rngCell1 As Excel.Range
Set rngCell1 = ActiveSheet.Range("d3")
rngCell.Select
Selection.Copy
Windows("QuoteTracking.xls").Activate
Selection.PasteSpecial Paste:=xlValues,
Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
End Sub
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
"Find" function question - No code required N1KO Excel Discussion (Misc queries) 1 May 6th 09 03:59 PM
"Find" a wildcard as a place marker and "replace" with original va Eric Excel Discussion (Misc queries) 1 January 27th 09 06:00 PM
Question about "Find" function in Edit menu cpayneHTE Excel Discussion (Misc queries) 9 March 19th 08 01:36 PM
"Disk is Full" add-on question to "Can't reset last cell" post tod [email protected] Excel Discussion (Misc queries) 0 January 22nd 07 02:32 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM


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