+ Reply to Thread
Results 1 to 7 of 7

CALENDAR USERFORM w/o addins in MS Word

  1. #1
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    CALENDAR USERFORM w/o addins in MS Word

    Hi gurus,

    Instead of excel, I'm working on Microsoft word userform. I just want to have a Calendar Form without using any addins. I've googled it but all I've search is excel-based.
    Hope anyone can help me with this.

    Thanks in advance gurus!

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: CALENDAR USERFORM w/o addins in MS Word

    Hi puuts,

    Here is a stand alone calendar written by Leith Ross that you might use.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: CALENDAR USERFORM w/o addins in MS Word

    Will try this Marvin!

    Will keep you updated if I've encounter some errors.

  4. #4
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: CALENDAR USERFORM w/o addins in MS Word

    Quote Originally Posted by MarvinP View Post
    Hi puuts,

    Here is a stand alone calendar written by Leith Ross that you might use.

    Hi Marvin,

    I'm encountering an error on this line:
    Please Login or Register  to view this content.
    Since I'm not in Excel, is there any way to change the above?

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: CALENDAR USERFORM w/o addins in MS Word

    Hi puuts,

    The Calendar code was written to work with Excel and not word. The line that is giving an error is telling the code to put the selected date back into Excel in the cell. I have no idea where you want the date inserted into Word. I don't even know if you want to pass back a selected date at all. Put a "Rem" in front of the line that is giving an error and try again. If you only want to view the calendar then this simple change might work.

  6. #6
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: CALENDAR USERFORM w/o addins in MS Word

    I've commented it and it still gives me the same error. I'm thinking instead of activecell, I will declare the variable to hold the value, but I can't figure it out.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: CALENDAR USERFORM w/o addins in MS Word

    In Word there are no ActiveCells. You need to Rem out or change all the code that is specific to Excel if you want to display and use the Userform in Word.

    To declare a variable to hold that date use:

    Dim FoundDate as Double

    And then instead of
    ActiveCell.Value = Control.Tag
    try
    FoundDate = Control.Tag

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] calendar in a userform
    By MADA BLACK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2015, 07:10 PM
  2. [SOLVED] Excel 2007, Userform Textbox Date Format and Calendar Control Userform
    By riffology in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2014, 06:18 PM
  3. [SOLVED] vba userform calendar to populate textbox in another userform
    By kaurka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2012, 01:43 PM
  4. Replies: 0
    Last Post: 04-27-2012, 12:43 PM
  5. Using a userform Calendar to fill in an excel calendar, and also a log
    By 00Able in forum Excel Programming / VBA / Macros
    Replies: 64
    Last Post: 09-08-2011, 08:50 PM
  6. Calendar in Userform
    By timarcarze in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-16-2011, 03:52 AM
  7. Userform and Calendar
    By timarcarze in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-04-2011, 12:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1