Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default VBE Find and replace with pattern

Thanks, will give that a try.

RBS

"Daniel.M" wrote in message
...
Hi,

I'm assuming you know how to get each line of the VBE code.

Get Harlan Grove's SUBST() function == look into the Google archives and
recuperate the latest version.

Then for each line,

newText = SUBST(oldLine,"(.*) = True","$1")

Regards,

Daniel M.

"RB Smissaert" wrote in message
...
Is it possible to do a find and replace in the Excel VBE with a pattern
specified?
For example I would like to replace:
If bConditionA = True with:
If bCondition
I can do a find with pattern like this:
If * = True
But replace like this doesn't seem possible.
Thanks for any advice.

RBS




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
Where to find pattern fill add-in NonTechie Charts and Charting in Excel 12 October 26th 09 03:06 PM
Where to find pattern fill add-in NonTechie Excel Discussion (Misc queries) 2 October 16th 09 11:33 AM
How to find & delete a particular pattern of text from values of a Mansa Excel Discussion (Misc queries) 10 June 3rd 08 08:26 AM
Replace pattern of characters Fernando Excel Discussion (Misc queries) 5 March 21st 07 09:33 PM
Wildcard pattern matching and replace in string Janelle Excel Programming 0 August 7th 03 10:43 PM


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