Search found 40 matches
- Tue Aug 05, 2014 11:23 am
- Forum: Technical / Scripting
- Topic: Timing a pause
- Replies: 1
- Views: 2110
Timing a pause
I use huge databases of 100+ columns and 30,000+ rows. I often need to do a search (with a delete or replace involved). Sometimes it can take almost a minute for the search to complete, sometimes it only takes a few seconds. Is there a method whereby I can move onto the next line of code once the se...
- Wed Mar 02, 2011 12:38 pm
- Forum: Technical / Scripting
- Topic: StringReplace: How do I also include commas?
- Replies: 4
- Views: 5316
- Wed Mar 02, 2011 9:31 am
- Forum: Technical / Scripting
- Topic: StringReplace: How do I also include commas?
- Replies: 4
- Views: 5316
Hi, Marcus. I tried your suggestion. This is the actual lines of code that I'm trying to work with. I wasn't sure whether to use the Let> before each line or not, so I started by trying it just once before them all. Here is the actual code I'm using. Let>comma=, StringReplace>theFileData,150000,$150...
- Wed Mar 02, 2011 8:39 am
- Forum: Technical / Scripting
- Topic: StringReplace: How do I also include commas?
- Replies: 4
- Views: 5316
StringReplace: How do I also include commas?
:roll: I've got tables of information. Some of the cells are not properly formatted. They are displaying numbers instead of properly formatted currency. 150000 instead of $150,000. Sometimes it's 150000. when it needs to be $150,000. I have to use the tags in the definition because of the various si...
- Thu Jul 16, 2009 4:50 pm
- Forum: Beginners
- Topic: StringReplace parsing
- Replies: 13
- Views: 12371
- Thu Jul 16, 2009 1:38 pm
- Forum: Beginners
- Topic: StringReplace parsing
- Replies: 13
- Views: 12371
Amazing. I can feel myself actually beginning to grok what you've done. One problem is that I have many tables in my document, but only 4 of them are relevant to this process. They all have a unique tag: Is there any way to limit this action to only tables displaying this particular table tag? Will ...
- Thu Jul 16, 2009 4:55 am
- Forum: Beginners
- Topic: StringReplace parsing
- Replies: 13
- Views: 12371
Wow, that was a quick day.......I was able to get this done before the system crashed, had the prelim done already, just needed the final detail that you provided. This seems to work for me: Let>vSample=<table><tr><td>1</td><td>R3003808</td><td>214 Via Palacio</td><td>Palacio</td><td>5</td><td>6.3<...
- Wed Jul 15, 2009 7:07 pm
- Forum: Beginners
- Topic: StringReplace parsing
- Replies: 13
- Views: 12371
- Wed Jul 15, 2009 6:46 pm
- Forum: Beginners
- Topic: StringReplace parsing
- Replies: 13
- Views: 12371
I suspect we can use RegEx to do this. Could you provide some lines of the HTML document, showing the "before" and desired "after" results? Could use that to do some RegEx testing. Hi, Bob. Here is a bit, showing the starting tag and then going down two rows. Keep in mind, each table has a differen...
- Wed Jul 15, 2009 4:02 pm
- Forum: Beginners
- Topic: StringReplace parsing
- Replies: 13
- Views: 12371
StringReplace parsing
I have an HTML document with several tables in it. The tables are of different size in terms of both rows and columns and they vary every time. They are never the same twice. I need to change the tag in each cell of two adjacent columns of each table. Even though there are a different number of colu...
- Wed Jul 15, 2009 3:48 pm
- Forum: Beginners
- Topic: Consecutive Find & Replace
- Replies: 17
- Views: 17377
- Wed Jul 15, 2009 2:27 pm
- Forum: Beginners
- Topic: Consecutive Find & Replace
- Replies: 17
- Views: 17377
Re: Try percent signs to enclose CRLF
gdyvig wrote:Try this:
Code: Select all
StringReplace>theFileData,>%CRLF%VAREXPLICIT=1. Gale[/quote] No, that didn't help. I also tried it with a comma before theFileData where it appears at the end of the StringReplace expression. [code] StringReplace>theFileData,>%CRLF%VAREXPLICIT=1
- Wed Jul 15, 2009 11:19 am
- Forum: Beginners
- Topic: Consecutive Find & Replace
- Replies: 17
- Views: 17377
Re: StringReplace with CRLF
>CRLF< shows up, literally. It doesn't seem to recognize or execute the CRLF. I've set up maybe 30 different StringReplace statements for this particular macro, to run consecutively, and this is the only one that doesn't seem to work, which wouldn't ruin my day in the great scheme of things. I can a...
- Wed Jul 15, 2009 6:38 am
- Forum: Beginners
- Topic: Consecutive Find & Replace
- Replies: 17
- Views: 17377
Re: run from top when in editor
Hi Ronen, Can I use CRLF as a search and/or replace parameter? Yes. Example: StringReplace>theFileData,CRLF,:,theFileData Gale Hi, Gale. I'm trying to replace the end bracket of an HTML tag followed immediately by the opening bracket of an HTML tag with the same but with the opening bracket on a ne...
- Wed Jul 15, 2009 6:28 am
- Forum: Beginners
- Topic: Consecutive Find & Replace
- Replies: 17
- Views: 17377