RE: Use of CallByName()
- From: Joel <Joel@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 23 Aug 2008 09:16:13 -0700
The code below works in 2003 in a module. I took the help example in VBA and
made a minor change. I also added a textbox to the active work***. See if
this helps.
Set Text1 = Active***.OLEObjects("Textbox1").Object
CallByName Text1, "MousePointer", VbLet, vbCrosshair
Result = CallByName(Text1, "MousePointer", VbGet)
"George B" wrote:
All the references I have found on this procedure appear to be for use in a.
class module. I would like to use it to call a procedure in Module1. Is
this possible? What is the object to be specified in
CallByName object,procname,calltype,[args()]
- References:
- Use of CallByName()
- From: George B
- Use of CallByName()
- Prev by Date: Re: Auto insert a vb module to a new workbook -riv
- Next by Date: Re: Can I copy data (Values) from one *** to another with macro
- Previous by thread: Use of CallByName()
- Next by thread: Re: Use of CallByName()
- Index(es):