LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Automating a comment entry using code - specific requiremnents

Thanks Per,

These all work great - im learning alot about the coding for user forms.

All the best,

Roger



"Per Jessen" wrote:

Roger,

Add a Label to your userform and use this code:

UserForm1.Label1.Caption = "Select your comment for step " &
ActiveCell.Offset(0, -1).Value

Or if your want to display it as the caption of the userform:

UserForm1.Caption = "Select your comment for step " &
ActiveCell.Offset(0, -1).Value

Hopes this helps.

Best regards,
Per

"Roger on Excel" skrev i
meddelelsen ...
Per,

It would not be nescessary to add new user comments to the list.

I have modified the code so that a combo box (pointing to the comments
list)
is in the dialog. I did this by creating a new userform with command
buttons
to activate the code and close the form. It looks as though it works fine
as
I can now select the comment from the combo dropdown. However I would want
to
retain the label code that you had as I quite like seeing it state "Step
1,2,3 etc" in the dialog.

How would I make the label in the new userform state the step number - i
am
not sure how to do this in my newly created userform?

Best regards,

Roger






 
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
Automating Data Entry (Position the cursor, insert row) Bethany Excel Programming 4 November 28th 06 06:54 PM
Automating entry in a cell BrownsFan Excel Worksheet Functions 2 August 11th 06 03:55 PM
Visual Basics - Automating Specific Sheet Names Tenaj Excel Discussion (Misc queries) 9 October 6th 05 01:51 PM
Auto date or comment entry Simon Lloyd[_398_] Excel Programming 2 March 6th 04 04:50 PM
Automating entry using validation Dianna Excel Programming 2 August 22nd 03 06:54 PM


All times are GMT +1. The time now is 12:56 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"