Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default find function not working with merged cells

Because merged cells are a real pain to work with.

I've seen routines that use simple find/findnext and compare with the first
address found (like VBA's help shows) go into endless loops because of the way
the find fails with merged cells.

Hydra wrote:

I'm using the find function to locate the column in which data is located.
Some of the columns have merged cells. Searching row wise the function finds
the first 8 targets and then skips over the ninth one, which is in merged
cell.

however it finds the target in column four, which is also a merged cell.

The find function is searching for values, not formulas and my target text I
"$".

Any reason why it is missing some targets?


--

Dave Peterson
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default find function not working with merged cells

I agree. Merged cells are evil. It's often better to use Center Across Selection.


On 15-Dec-2009 11:51, Dave Peterson wrote:
Because merged cells are a real pain to work with.

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
Form command not working on worksheet with merged cells JohnH Excel Discussion (Misc queries) 0 May 17th 10 01:28 PM
Adding comment to cells not working with merged cells mcphc Excel Programming 2 August 29th 07 07:09 PM
VBA Find function does not work for merged cells. Potential BUG Antonio Excel Programming 7 August 6th 07 09:54 PM
.find with merged cell not working Sunil Patel Excel Programming 5 July 3rd 05 08:11 PM
Copy/Paste Merged Cells via Macro is not working Peter Bassett Excel Programming 0 January 27th 05 07:24 PM


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