Paste special values of a formula to a cell but NOT from a defined source cell

Hai

New Member
Joined
Jun 24, 2008
Messages
15
Right, this sounds very odd but my problem is as follows:

I have a script (thanks to MorganO -Owen from http://www.mrexcel.com/forum/showthread.php?t=324443) to build formulas that links to different cells of different workbooks and insert into destination cells of a consolidation workbook

So my destination cells will have formulas like:

='E:\My Work\Test\Data\[CCC.xlsx]Input'!$S$31

Everything works fine. But I don't want the destination cells to display the full formula, but the actual Value only

I thought of a way to build a script that first builds the formula to one cell then Copy Paste Special value of that Cell to my desired Cell.

But when the code runs :) The cursor moves back and forth all the time...

I hope you have a smarter way of solving my problem. Thanks so much!
 
Well, finally I got the logic of that Table Design Auto Fill Formula thing in XL07

If in the columns within that table, there's only my formula linking to closed workbooks, then the table will auto fill all the blank cells of that column with the formula

. So I created an extra row below the header row, and put a static value there. The auto fill feature will not be activated when links a built into all the rows below that row!

Thanks for your inspirational help, lasw10 and hope you'll be able to get XL07 soon!

:)
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,215,061
Messages
6,122,922
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top