Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Function to change text to formula

Hi,

I am creating a spreadsheet which links to many other files in different
directories.

The user selects the files and the pathsnames etc are returned using
"GetOpenFilename".

My idea was to concatenate the filepath with the worksheet name and cell
reference to create a formula. If l copy and pastespecial values the
concatenated result into a new cell then using edit place = in front all
works OK. I can also write VBA code to achieve same but there are too many
cells to make it feasable.

Is there or does anybody know the code to create a function that will take
text and convert to a formula.

Any suggestions would be great.

Regards

Michael beckinsale.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Function to change text to formula

There is no such built in function for linking to closed workbooks. For
open workbooks, you can use the Indirect formula.

I don't understand how too many cells is an issue with using a macro. A
macro can perform the same repetitive action on all your cells - perhaps you
could elaborate.

--
Regards,
Tom Ogilvy

"Michael Beckinsale" wrote in message
...
Hi,

I am creating a spreadsheet which links to many other files in different
directories.

The user selects the files and the pathsnames etc are returned using
"GetOpenFilename".

My idea was to concatenate the filepath with the worksheet name and cell
reference to create a formula. If l copy and pastespecial values the
concatenated result into a new cell then using edit place = in front all
works OK. I can also write VBA code to achieve same but there are too many
cells to make it feasable.

Is there or does anybody know the code to create a function that will take
text and convert to a formula.

Any suggestions would be great.

Regards

Michael beckinsale.




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
Can Text Function change output text color? epiekarc Excel Discussion (Misc queries) 1 December 31st 08 02:58 AM
how to change number to text with specific format in function ViestaWu Excel Worksheet Functions 4 June 26th 07 04:38 AM
trying to change Proper function results to text? Arlene Excel Worksheet Functions 1 August 23rd 06 09:45 PM
Is there a function to change a number to text? psdunlavy Excel Worksheet Functions 3 June 12th 05 08:13 AM
Change Text-color depenting on SUM-function Eric S. Excel Worksheet Functions 3 May 23rd 05 03:44 PM


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

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"