![]() |
#1
|
|||
|
|||
![]()
Hello everyone!
I need a macro that would do something with a textframe if it contains a specific text. I try using the following code for comparison: Code:
Dim value As String value = shp.TextFrame.TextRange.Text Dim res As Integer res = StrComp(value, "testvalue", 1) What am I doing wrong? How can I make it work? ![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Document Comparison | Thefirstfish` | Word VBA | 0 | 04-10-2017 01:07 PM |
Comparison (with styles) Macro | aarona | Word VBA | 0 | 03-03-2017 11:18 PM |
Saving & reopening comparison | MarshallAbrams | Word | 0 | 03-29-2012 06:19 AM |
Comparison jumps to end | MarshallAbrams | Word | 2 | 03-21-2012 04:04 AM |
![]() |
ghumdinger | PowerPoint | 5 | 12-09-2011 10:36 PM |