Some HTML source which renders perfectly in all tested browsers is causing some problems when being rendered by Word. Am receiving the following error: Error! Unknown switch argument. The <IMG> tags in the HTML point to internal "https" URLs. Here are some examples. 1. This displays correctly in Word: {INCLUDEPICTURE \d "https://internalserver1.com/EWF/images/ headerLogo.gif" \* MERGEFORMATINET} 2. This displays the above-mentioned error: {INCLUDEPICTURE \d "https://internalserver2.com/eclient/RetrieveImage? itemID=90+3+ICM7+icmprod11+DemandNotes59+26+A1001001A07J01A85359B3869818+A07J01A85359B386981+14+1055&conversion=true&page=5&scale=1&rotation=0&annotations=true&vType=page" \* MERGEFO } I immediately noticed that second URL is extermely long and that MERGEFORMATINET appears to have been shortened to MERGEFO. Can the length of URL contribute to this? Is there a better way to do this? Thanks, Evan Smith
Hi Evan, If I recall correctly, and may vary by Word version, (sorry, been a very long day <g>) there was a 248 character limit on a word Hyperlink and the field may have 256 character limitation in an {IncludePicture} field. *\ MERGEFO would be seen as an unknown switch. ============ <<"esmith2112" wrote in message news:1193692577.676459.8520@o38g2000hse.googlegroups.com... Some HTML source which renders perfectly in all tested browsers is causing some problems when being rendered by Word. Am receiving the following error: Error! Unknown switch argument. The <IMG> tags in the HTML point to internal "https" URLs. Here are some examples. 1. This displays correctly in Word: {INCLUDEPICTURE \d "https://internalserver1.com/EWF/images/ headerLogo.gif" \* MERGEFORMATINET} 2. This displays the above-mentioned error: {INCLUDEPICTURE \d "https://internalserver2.com/eclient/RetrieveImage? itemID=90+3+ICM7+icmprod11+DemandNotes59+26+A1001001A07J01A85359B3869818+A07J01A85359B386981+14+1055&conversion=true&page=5&scale=1& rotation=0&annotations=true&vType=page" \* MERGEFO } I immediately noticed that second URL is extermely long and that MERGEFORMATINET appears to have been shortened to MERGEFO. Can the length of URL contribute to this? Is there a better way to do this? Thanks, Evan Smith >> -- Bob Buckland ?:-) MS Office System Products MVP *Courtesy is not expensive and can pay big dividends*
Thanks, Bob. The length of the long URL + the last switch does exceed 248 characters. At least we have an explanation. Looks like it's time to craft a workaround... Regards, Evan On Oct 30, 1:51 am, "Bob Buckland ?:-\)" <75214.226(At Beautiful Downtown)compuserve.com> wrote: > Hi Evan, > > If I recall correctly, and may vary by Word version, (sorry, been a very long day <g>) there was a 248 character limit on a word > Hyperlink and the field may have 256 character limitation in an {IncludePicture} field. > > *\ MERGEFO > would be seen as an unknown switch. > > ============ > -- > > Bob Buckland ?:-) > MS Office System Products MVP > > *Courtesy is not expensive and can pay big dividends*