Hi Guys,
I need to create a custom form in Outlook. This is my first time ever working with VBA and I can't seem to be able to modify the properties of an object like you can in Visual Basic. I browsed the MSDN website and found out that I need to "instaniate" the object control before I can modify it's properties but the code the gave as an example won't work.
Here is the code I've tried:
Set ComboBox1 = Item.GetInspector.ModifiedFormPages("Page Name"
.Controls("ComboBox1)
I also tried:
Set ComboBox1 = GetInspector.ModifiedFormPages("Page Name"
.ComboBox1
Neither of these work. I get an "unknown expection" error and Microsoft's Script Debugger sucks so that's all it will tell me.
I'm not really a programmer (as you can tell) but I thought this should be realitively easy.
Can anyone throw me a bone?
Thanks,
Niall
I need to create a custom form in Outlook. This is my first time ever working with VBA and I can't seem to be able to modify the properties of an object like you can in Visual Basic. I browsed the MSDN website and found out that I need to "instaniate" the object control before I can modify it's properties but the code the gave as an example won't work.
Here is the code I've tried:
Set ComboBox1 = Item.GetInspector.ModifiedFormPages("Page Name"
I also tried:
Set ComboBox1 = GetInspector.ModifiedFormPages("Page Name"
Neither of these work. I get an "unknown expection" error and Microsoft's Script Debugger sucks so that's all it will tell me.
I'm not really a programmer (as you can tell) but I thought this should be realitively easy.
Can anyone throw me a bone?
Thanks,
Niall