Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.excel.programming > #108767

Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it?

From Mike S <mscir@yahoo.com>
Newsgroups microsoft.public.excel.programming
Subject Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it?
Date 2016-04-16 22:14 -0700
Organization A noiseless patient Spider
Message-ID <nev5t6$448$3@dont-email.me> (permalink)
References <nertvh$ov7$1@dont-email.me> <net71v$tqh$1@dont-email.me>

Show all headers | View raw


On 4/16/2016 4:21 AM, GS wrote:
>> I need to generate a report that will work in Excel 2000 and later,
>> I'd like to embed a rich textbox control (with scrollbars), or a Word
>> document if that isn't possible, where I can write the report and
>> format it.
>>
>> I can embed a textbox control from the drawing toolbar or a word
>> document control in a worksheet, but I don't know how to refer to
>> either one of them to write text and format it inside them, where can
>> I find the name of the control so I can see the properties and work
>> with it?
>
> Most controls include a properties dialog and/or userguide (hlp file) i
> addition to what lists in the Properties window.
>>
>> Also is there a way to get scrollbars to show on the rich textbox
>> control? I read that there was not.
>
> Set the Scrollbars property to suit...
>
>   0 = rtfNone
>   1 = rtfHorizontal
>   2 = rtfVertical
>   3 = rtfBoth
>>
>> And is there any advantage to doing this stuff in a form vs embedding
>> the control in a worksheet? The reports have to be both saved and
>> printed. It seems like that should be possible from the worksheet just
>> as easily as doing it with a form. I avoid Excel forms because they
>> seem clunky to work with after being spoiled working with VB6.
>
> Only VB6 thing I miss is the ability to use control arrays. One
> advantage I like is that chk/opt controls can be grouped outside of (or
> without) a container via their GroupName property.
>
> FWIW
> It's a bit of a chore getting userforms to display min/max controls and
> make them resizeable, but still doable nevertheless. (Once done, the
> form is reusable thereafter via 'Import...'!)
>
> Making inter-dependant dropdowns via formulas on a worksheet is easier
> than doing same on a form which requires having to code. Worksheet
> dropdowns have data validation; userform dropdowns require code for this.
>
> Cells can be disguised to look/feel/act like btn/chk/opt controls quite
> easily so they scroll/position properly when rows/cols visibility is
> toggled. Event code handles this quite easily! Adjacent cell content can
> auto-change via formulas depending on chk/opt cell choices.
>
> Worksheet forms can be as interactive as you want, and are much easier
> to scroll/use than a long userform! Using 'helper' cols/rows outside the
> form area is a big bonus as these can be hidden at runtime. You can also
> toggle display of col/row headers and gridlines so your worksheet
> doesn't look like a worksheet.
>
> HTH

Thank you for all of your thoughts... time to dig into this now.

Best Regards,
Mike

Back to microsoft.public.excel.programming | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Embed drawing toolbar textbox or word doc in sheet, how to refer to it? Mike S <mscir@yahoo.com> - 2016-04-15 16:40 -0700
  Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it? GS <gs@v.invalid> - 2016-04-15 21:07 -0400
    Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it? Mike S <mscir@yahoo.com> - 2016-04-15 22:37 -0700
      Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it? GS <gs@v.invalid> - 2016-04-16 02:01 -0400
        Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it? Mike S <mscir@yahoo.com> - 2016-04-15 23:39 -0700
          Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it? GS <gs@v.invalid> - 2016-04-16 06:34 -0400
  Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it? GS <gs@v.invalid> - 2016-04-16 07:21 -0400
    Re: Embed drawing toolbar textbox or word doc in sheet, how to refer to it? Mike S <mscir@yahoo.com> - 2016-04-16 22:14 -0700

csiph-web