MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

Resizing an userform which was created dynamically

  Asked By: Danielle    Date: Jan 28    Category: MS Office    Views: 788

I am creating an userform at runtime and adding a button on it at runtime. Now
if i click the button I want to have the userform resized to a different size. I
tried to add to set the form's width to a different value in the button_click
event which I am writing at runtime into the form's codemodule. But the event
doesn't recognize the form object and fails. I have declared the form object as
a global object (vbcomponent).

Is there any workaround for this?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Resizing an userform which was created dynamically Or get search suggestion and latest updates.