Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default copy 2 cells into 1 cell


i have 2 cells,

---Time----Day----
--640------Mon---

how do i copy the 2 different data from 2 different cells into 1
cell,example as below,

---Remarks--
--Mon 640---


--
new_to_vba
------------------------------------------------------------------------
new_to_vba's Profile: http://www.excelforum.com/member.php...o&userid=30131
View this thread: http://www.excelforum.com/showthread...hreadid=516065

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default copy 2 cells into 1 cell

Hi New_to_VBA,

Manually:

A1: 640
B1 Mon
C1: =B1 & " " & A1 == Mon 640

With VBA:

Range("C1").Value = Range("B1").Value _
& " " & Range("A1").Value


---
Regards,
Norman



"new_to_vba" wrote
in message ...

i have 2 cells,

---Time----Day----
--640------Mon---

how do i copy the 2 different data from 2 different cells into 1
cell,example as below,

---Remarks--
--Mon 640---


--
new_to_vba
------------------------------------------------------------------------
new_to_vba's Profile:
http://www.excelforum.com/member.php...o&userid=30131
View this thread: http://www.excelforum.com/showthread...hreadid=516065



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default copy 2 cells into 1 cell

Range("C2").Value = Range("B2").Text & " " & Range("A2").Text

--
Regards,
Tom Ogilvy


"new_to_vba" wrote
in message ...

i have 2 cells,

---Time----Day----
--640------Mon---

how do i copy the 2 different data from 2 different cells into 1
cell,example as below,

---Remarks--
--Mon 640---


--
new_to_vba
------------------------------------------------------------------------
new_to_vba's Profile:

http://www.excelforum.com/member.php...o&userid=30131
View this thread: http://www.excelforum.com/showthread...hreadid=516065



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
Select max value from 9 cells, copy cell col heading to other cell Struggling in Sheffield[_2_] New Users to Excel 6 March 11th 09 11:47 AM
How to copy single cell into cell that is merged from two cells? Rod Excel Discussion (Misc queries) 3 January 22nd 06 09:24 PM
Copy cells into range of cells until cell change mdeanda Excel Worksheet Functions 1 April 22nd 05 08:41 PM
VBA to copy to empty cell directly below a cell when analogous cells in different column have same value as each other? Steven Rosenberg Excel Programming 0 August 5th 03 06:10 AM
VBA to copy to empty cell directly below a cell when analogous cells in different column have same value as each other? SROSENYC Excel Programming 1 August 5th 03 04:34 AM


All times are GMT +1. The time now is 04:10 AM.

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"