Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 23rd, 2004, 10:53 AM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to venky
Default UserForm - Calender control

Hi,

Am creating a userform and added calender control.
Need to get the "Value" upon a date selection from the calender and put it into the active worksheet.

Need some help on this.
Thanks.

Reply With Quote
  #2 (permalink)  
Old October 27th, 2004, 03:40 AM
Authorized User
 
Join Date: Aug 2004
Location: , , .
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In theabsence of another reply .. I use a Microsoft Calendar Control, but it might be different to yours. The method here is to see what the names of the textboxes are via Properties and use them as follows :-
Code:
Sub Button1_Click()
    frmCalendar.Show
    ActiveSheet.Cells(1, 2).Value = frmCalendar!txtFrom.Value
    ActiveSheet.Cells(2, 2).Value = frmCalendar!txtTo.Value
End Sub
-----------------------
Regards BrianB
Most problems occur from starting at the wrong place.
Use a cup of coffee to make Windows run faster.
It is easy until you know how.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calender control - How to open next page? paragdongre ASP.NET 2.0 Basics 3 November 5th, 2007 01:28 AM
Using calender control in datagrid bala24 General .NET 0 June 5th, 2006 02:40 AM
problem regarding calender control CsharpHelp C# 0 November 14th, 2005 07:47 AM
Calender control anita VB How-To 4 December 12th, 2004 03:10 PM
vb.net calender control rita General .NET 1 June 16th, 2004 11:55 AM



All times are GMT -4. The time now is 08:07 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.