LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default VBA - Find command

I'm trying to use "Find" to determine the exact location of a space in a
string. (e.g. Smith Bob space is located in postion 6) In code I'm entering
ActiveCell.Formula = "=Find(" ",D3,1)" to determine the space location. It
errors every time. I believe it has to do with the quotation marks. This
works fine as a formula in the spreadsheet, but in VBA an error occurs.
Any ideas on why I get an error?
 
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 command Paul Blarmy Excel Discussion (Misc queries) 5 January 6th 07 12:30 PM
Excel has a "Find Next" command but no "Find Previous" command. Michael Fitzpatrick Excel Discussion (Misc queries) 2 January 10th 05 11:45 PM
Find Command Adam[_9_] Excel Programming 1 September 28th 04 06:00 PM
Find Command Frank Kabel Excel Programming 1 September 24th 04 06:23 PM
Find Command Adam[_9_] Excel Programming 1 September 24th 04 03:57 PM


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