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

Hi, I just start learning Excel programming. What I want to do is to search
the whole worksheet by keyword like "today*is*monday", and copy the cell to
another worksheet.

Also I do not know how to make a window for typing those key words. Any
help? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default multi text search question

You can use a line like:

Dim SearchFor as string
searchfor = inputbox(Prompt:="What's the Word, Kenny?")
if trim(searchfor)="" then
exit sub 'user hit cancel
end if

Someday, you may want to get a few responses from the user. After a while,
these inputboxes become kind of a pain. You may want to design a userform to
get that kind of input (and you could use it for just one thing, too).

Debra Dalgleish has a small tutorial at:
http://contextures.com/xlUserForm01.html



gomo666 wrote:

Hi, I just start learning Excel programming. What I want to do is to search
the whole worksheet by keyword like "today*is*monday", and copy the cell to
another worksheet.

Also I do not know how to make a window for typing those key words. Any
help? Thanks


--

Dave Peterson
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
How can I use a VLOOKUP function to search a multi-page workbook? Chrisl147 Excel Worksheet Functions 4 August 17th 07 05:16 PM
How can I use a VLOOKUP function to search a multi-page workbook? Toppers Excel Worksheet Functions 0 August 17th 07 01:46 AM
grab cell text from multi-tab workbook, show text in another workb pfa Excel Worksheet Functions 16 August 10th 07 08:50 PM
Basic question about multi sheet workbooks JOUIOUI Excel Discussion (Misc queries) 2 June 28th 06 08:07 PM
One more question - Multi Select List happy Excel Programming 0 May 18th 04 04:05 PM


All times are GMT +1. The time now is 09:04 AM.

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"