#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Linked cell

Hi,
I have this code, which someone provided me.
(€¦)
NewWS.Cells(xx% + 1, 2).Value = Sheets(xx%).Range("c271").Value
(€¦)
My goal is to have in NewWS.Cells(xx% + 1, 2) a link instead of the value.
Any help is most welcome.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Linked cell

Raul,

NewWS.Cells(xx% + 1, 2).Formula = "='" & Sheets(xx%).Name & "'!C271"

HTH,
Bernie
MS Excel MVP


"Raul Sousa" wrote in message
...
Hi,
I have this code, which someone provided me.
(.)
NewWS.Cells(xx% + 1, 2).Value = Sheets(xx%).Range("c271").Value
(.)
My goal is to have in NewWS.Cells(xx% + 1, 2) a link instead of the value.
Any help is most welcome.





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
How do I have a linked cell auto-size to fit the linked data? CristinPDX Excel Discussion (Misc queries) 0 June 24th 08 08:42 PM
Using a cell reference to create linked info in another cell LCrowe Excel Discussion (Misc queries) 2 February 28th 08 05:26 PM
In Cell Validation List & Linked Cell VLOOKUP BEEZ Excel Discussion (Misc queries) 7 July 1st 07 07:17 PM
How to force a cell value to change if Linked cell moves? EagleOne Excel Discussion (Misc queries) 2 December 6th 06 03:32 PM
how do i record changing cell data (cell is dde linked) Morph Excel Discussion (Misc queries) 1 September 22nd 05 12:28 AM


All times are GMT +1. The time now is 10:49 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"