LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 169
Default Refer to control on userform from code module

I have a code module that applies to several different controls on a form.

What I want to do is set a reference to the currently displayed form, then
refer to the ActiveControl on that form. How do you do this?

It's easy in Access, but I have not figured out the Excel Object model well
enough to know how to accomplish it in Excel.

Thanks, in advance.

--
Email address is not valid.
Please reply to newsgroup only.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Refer to a control name from another sheet rezafloyd Excel Programming 1 October 10th 06 09:26 AM
Code in userform/worksheet vs. in Module davegb Excel Programming 2 June 19th 06 04:17 PM
Design Best Practices: Form Control Code in Worksheet or Module Bing Excel Programming 2 December 23rd 04 02:31 PM
Using code to create a control on an Excel userform Fred Holmes Excel Programming 1 November 17th 04 09:38 PM
Control code behavior with userform ? steve Excel Programming 0 July 30th 03 05:01 PM


All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"