A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

2 calls (month and year) to be combined as date in single cell



 
 
Thread Tools Display Modes
  #1  
Old August 5th, 2004, 01:47 PM
Andigo
external usenet poster
 
Posts: n/a
Default 2 calls (month and year) to be combined as date in single cell

I want to use 2 combo boxes on a VBA form, one to specify a month, the
other to specify a year. I want Excel VBA to take these two pieces of
information (month and year) and put them as a date into *one single
cell* in the format "December 2004"


---
Message posted from http://www.ExcelForum.com/

  #2  
Old August 5th, 2004, 03:28 PM
jeff
external usenet poster
 
Posts: n/a
Default 2 calls (month and year) to be combined as date in single cell

Hi,

Easy. Say your target, or LinkedCell, for Month is
cell G1 (December); and the target for your Year combo
box is G2 (2004);You want the final result in A1.
A1 should read =G1 & " " & G2

jeff

-----Original Message-----
I want to use 2 combo boxes on a VBA form, one to

specify a month, the
other to specify a year. I want Excel VBA to take these

two pieces of
information (month and year) and put them as a date into

*one single
cell* in the format "December 2004"


---
Message posted from http://www.ExcelForum.com/

.

 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aggregating Date Data into Weeks and Quarters Roger Running & Setting Up Queries 3 July 11th, 2004 05:56 PM
Converting Date Time format to Month YEar format Prashant Sisodia Worksheet Functions 1 June 11th, 2004 03:56 PM
Contract Expires 1st of 6th Month after Date entered! Wayne Worksheet Functions 14 December 31st, 2003 07:23 AM
date conversion web_time Worksheet Functions 10 December 25th, 2003 06:51 PM


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


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