Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA: Extracting Range from worksheet and inserting into userform


_What_is_the_\"ME\"_in_your_recommended_solution?_ It looks like thi
will probably work for what Im doing. Im just not sure If I understan
what the ME. is.

and 2nd....

ANYONE HAVE AN IDEA ON HOW TO SEACH AND RETREIVE THAT CUSTSSN FROM
COLUMN OF 300 OR MORE CUSTSSN'S

Thanks again, this is a a great site, Im glad I came across it

--
Mcastee
-----------------------------------------------------------------------
Mcasteel's Profile: http://www.excelforum.com/member.php...fo&userid=1569
View this thread: http://www.excelforum.com/showthread.php?threadid=27226

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Extracting Range from worksheet and inserting into userform

Me refers to the object that the code is being executed from, so in a
userform it refers to the form, in a worksheet it refers to that worksheet.
It is a simple way of ensuring you are referring to 'this' container.

What does the second part mean exactly? To search you have a customer number
to search for, so do you just want the index within the customer numbers
where that item is found? Something like

iRow = Worksheetfunction.Match(sCustSSN,
Worksheets("Sheet1").Range("A1:A300"),0)
if iRow = 0 Then
MsgBox "Not found"
End If

--

HTH

RP

"Mcasteel" wrote in message
...

_What_is_the_\"ME\"_in_your_recommended_solution?_ It looks like this
will probably work for what Im doing. Im just not sure If I understand
what the ME. is.

and 2nd....

ANYONE HAVE AN IDEA ON HOW TO SEACH AND RETREIVE THAT CUSTSSN FROM A
COLUMN OF 300 OR MORE CUSTSSN'S?

Thanks again, this is a a great site, Im glad I came across it.


--
Mcasteel
------------------------------------------------------------------------
Mcasteel's Profile:

http://www.excelforum.com/member.php...o&userid=15698
View this thread: http://www.excelforum.com/showthread...hreadid=272267



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
Inserting pictures into unprotected range in a protected worksheet Fernando Reyes Excel Worksheet Functions 1 August 26th 09 12:20 AM
VBA: Extracting Range from worksheet and inserting into userform Mcasteel Excel Programming 1 October 25th 04 11:18 PM
Extracting metatags from a web page and inserting them in a worksheet. John Wirt[_6_] Excel Programming 2 July 11th 04 08:44 PM
Extracting Colors from Image loaded in userform emsfeld Excel Programming 6 June 4th 04 04:05 PM
Showing Worksheet Range in Userform RonMcC[_2_] Excel Programming 0 February 23rd 04 03:46 PM


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