Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Assigning values from source cells

I'm trying to assign value from Source cells into the destionation cell using
following statements.

dCell.Value = sCell.Value

Is it possible to assign value in destination cells without using multiple
copy-paste?

--
Thanx & regards,
Asif
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 897
Default Assigning values from source cells

If you create a Range object you can assign a string value to it
directly, and all the cells in the range will take on that value.

Dim rng as Excel.Range
Dim myval As String
Set rng = Range("A1:A10")
myval = "Do it!"
rng.Value = myval


HTH,
JP



On Aug 12, 3:16*pm, Asif wrote:
I'm trying to assign value from Source cells into the destionation cell using
following statements.

dCell.Value = sCell.Value

Is it possible to assign value in destination cells without using multiple
copy-paste?

--
Thanx & regards,
Asif


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
Assigning values to adjacent cells from a function MJ_N_CO Excel Worksheet Functions 1 January 6th 09 01:40 AM
Assigning values to other cells from one cells formula [email protected] Excel Discussion (Misc queries) 1 September 20th 07 07:46 PM
Linking cells: open source to update values zimon72 Excel Discussion (Misc queries) 2 January 19th 06 07:21 AM
Problem assigning values to a range of cells John Keith[_2_] Excel Programming 3 October 7th 05 09:00 PM
Assigning data source to chart K Dales Excel Programming 0 August 24th 04 02:09 PM


All times are GMT +1. The time now is 09:08 PM.

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

About Us

"It's about Microsoft Excel"