Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Programming popup forms

I am trying to create a macro that opens a popup form.

The popup form has a series of check boxes (10-15).

When the popup form closes (or maybe when the user clicks an "OK"
button), I want to the macro to select a cell on the current row and a
defined column and for every check box that's selected, insert some
text in the cells starting with the selected cell and, in the same
column, on the rows below, advancing one row for each additional
selected check box. Does that make sense?

E.g. Say the cursor is in A25 and four check boxes were ticked (item
1, item 7, item 8 and item 13). The defined column is J.

On closing the popup form Cell J25 would contain Item1, J26: Item 7,
J27: item 8 and J28: item 13.

Any ideas?

Regards,
Richard.
--
Regards.
Richard.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Programming popup forms

Sounds like a userform. Take a look at


http://www.microsoft.com/ExcelDev/Articles/sxs11pt1.htm
Lesson 11: Creating a Custom Form
Excerpted from Microsoft® Excel 97 Visual Basic® Step by Step.

http://support.microsoft.com/default.aspx?kbid=161514
XL97: How to Use a UserForm for Entering Data

http://support.microsoft.com/default.aspx?kbid=213749
XL2000: How to Use a UserForm for Entering Data

http://support.microsoft.com/default.aspx?kbid=168067
File Title: Microsoft(R) Visual Basic(R) for Applications Examples for
Controlling UserForms in Microsoft Excel 97

Peter Aiken Articles:
Part I
http://msdn.microsoft.com/library/en...FormsPartI.asp

Part II
http://msdn.microsoft.com/library/en...ormsPartII.asp


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Richard Sherratt" wrote in
message ...
I am trying to create a macro that opens a popup form.

The popup form has a series of check boxes (10-15).

When the popup form closes (or maybe when the user clicks an "OK"
button), I want to the macro to select a cell on the current row and a
defined column and for every check box that's selected, insert some
text in the cells starting with the selected cell and, in the same
column, on the rows below, advancing one row for each additional
selected check box. Does that make sense?

E.g. Say the cursor is in A25 and four check boxes were ticked (item
1, item 7, item 8 and item 13). The defined column is J.

On closing the popup form Cell J25 would contain Item1, J26: Item 7,
J27: item 8 and J28: item 13.

Any ideas?

Regards,
Richard.
--
Regards.
Richard.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Programming popup forms

On Tue, 6 Dec 2005 08:45:01 -0000, "Bob Phillips"
wrote:

Sounds like a userform. Take a look at


<snip

Thanks, Bob. Great stuff.
--
Regards.
Richard.
Reply
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
RefEdits and normal forms / forms in a DLL David Welch Excel Programming 0 December 1st 04 03:49 PM
Forms that open from forms Azza Excel Programming 1 October 12th 04 10:54 PM
Calling Forms from Forms - Exit problems Stuart[_5_] Excel Programming 3 May 25th 04 06:50 AM
Are you sure popup box Todd Huttenstine[_2_] Excel Programming 2 November 9th 03 09:38 PM
Forms Toolbar Programming KB[_2_] Excel Programming 1 September 27th 03 06:21 PM


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

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

About Us

"It's about Microsoft Excel"