ArrFaxInfo =
CSFaxWorkbook.GetValue(ActiveDocument.FormFields("ATTNBox").DropDown.Value)
This should be one line; second line dropped due to word wrapping.
Notice the Line Continuation sign in below VBA statement:
ArrFaxInfo = _
CSFaxWorkbook.GetValue(ActiveDocument.FormFields("ATTNBox").DropDown.Value)
Try again.
Krgrds,
Perry
> Perry,
>
[quoted text clipped - 5 lines]
> on this line:
> ArrFaxInfo =
CSFaxWorkbook.GetValue(ActiveDocument.FormFields("ATTNBox").DropDown.Value)
> I noticed as I typed that line, the usual prompts you get after the first
> period:
[quoted text clipped - 12 lines]
> process
> ArrFaxInfo =
CSFaxWorkbook.getvalue(ActiveDocument.FormFields("ATTNBox").DropDown.Value)
> CSFaxWorkbook.Close 0
> MsgBox (ArrFaxInfo)
[quoted text clipped - 12 lines]
> > Krgrds,
> > Perry
Robert_L_Ross - 09 Mar 2005 16:35 GMT
Perry,
I have this as one line (my screen resolution is high so I don't have the
wrap indicator - the newsgroup screen is so small it wraps here, but it
doesn't wrap on my screen).
Plus, since it didn't work, I tried to hand-enter the line, and like I said,
my system doesn't seem to have the GetValue function. You know how as you
enter, when the system detects that it has a list to choose from, it presents
that list. When I'm entering and I get here:
ArrFaxInfo = CSFaxWorkbook.
I get the list of options, but GetValue is not one of those options. The
list goes from "FullNameURLEncoded" to "HasPassword". Also, when I type
getvalue, it should capitalize if it recognizes the command (getvalue =
GetValue), but it doesn't. I'm thinking I don't have the correct library
registered? Currently, I have the following, listed in the order the appear
in my References window:
Visual Basic for Applications
Microsoft Word 10.0 Object Library
OLE Automation
Normal
Microsoft Office 10.0 Object Library
Microsoft Excel 10.0 Object Library
Microsoft VBScript REgular Expressions 1.0
Microsoft VBScript REgular Expressions 5.5
Microsoft Visual Basic for Applications Extensibility 5.3
Is the GetValue function in some other reference?
THX!
> ArrFaxInfo =
> CSFaxWorkbook.GetValue(ActiveDocument.FormFields("ATTNBox").DropDown.Value)
[quoted text clipped - 57 lines]
> > > Krgrds,
> > > Perry