- Posted by
- Man, this is fast, I really appreciate your help. I tried both macro and they all ran fine in my simple example. The 1st 'not secure' macro: (1) You mentioned that the 'not secure' macro may run into problem that the end position may not be restored correctly after replace, could you give an example...Posted in Macros
-   Topics
-   Views
- chiu2
Nov 13, 2007
- Hi Mofi --- I'm studying your codes and hope that I can write something by myself soon. I think I have a good understanding of what you wrote, however I'm not up to the level that I can handle all by myself. Here is an extra question and I hope that you could help me one more time: Suppose that, in ...Posted in Macros
-   Topics
-   Views
- chiu2
Nov 13, 2007
- First, thanks for the reply. Perhaps I should restate that "I need to add a string "TC" at the end of each line between /* and */ INCLUSIVELY." In my example, the 1st group of /* ... */ is /* Comment1 Comment1 cont */ which has 2 lines. I would like to convert to /* Comment1 TC Comment1 cont */ TC T...Posted in Macros
-   Topics
-   Views
- chiu2
Nov 11, 2007
- Hi, I need to add a string "TC" at the end of each line between /* and */ while the number of lines between each /* ... */ pair may vary. Please help. Thanks. Here is an example: I want to convert from: /* Comment1 Comment1 cont */ Var1 /* Comment2 */ /* Comment3 */ Var2 /* Comment4 Comment5 Comment...Posted in Macros
-   Topics
-   Views
- chiu2
Nov 11, 2007