Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Norm
 
Posts: n/a
Default Help for Harlan's Pull

Can someone help me out and explain (show an example formula) of how to use
Harlan's pull function?

It sounds exactly like what I need, but I cannot get it to work. Below is
what I have input into the cell which I need to recover data from a closed
workbook.

=pull("'"&ModelDir&"\[jointdefaults.xls]Defaults'!$C$21")

am I even close?

The spreadsheet is always named jointdefaults.xls and the folder path is
obtained in the range ModelDir.

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

I'd copy that formula to an empty cell.
Then I'd remove the pull( and last ).
Then with the cursor still in the formula bar, hit F9 to convert it to text.
Then add the = sign to the formula.

Did that work ok?

If not, maybe your modeldir isn't correct????

I often open the other workbook, build a formula that points to that cell, then
close that workbook so I can see how excel builds that long string.

You may want to post back both versions -- a direct link and the formula you're
using (and what's in modeldir) if you have trouble.



Norm wrote:

Can someone help me out and explain (show an example formula) of how to use
Harlan's pull function?

It sounds exactly like what I need, but I cannot get it to work. Below is
what I have input into the cell which I need to recover data from a closed
workbook.

=pull("'"&ModelDir&"\[jointdefaults.xls]Defaults'!$C$21")

am I even close?

The spreadsheet is always named jointdefaults.xls and the folder path is
obtained in the range ModelDir.


--

Dave Peterson
  #3   Report Post  
Norm
 
Posts: n/a
Default

Dave,

Thanks! That did work, however I need to be able use the value ModelDir for
the path and folder location of the xls file. Is that possible. Your method
leaves me with a static result.

Norm

"Dave Peterson" wrote:

I'd copy that formula to an empty cell.
Then I'd remove the pull( and last ).
Then with the cursor still in the formula bar, hit F9 to convert it to text.
Then add the = sign to the formula.

Did that work ok?

If not, maybe your modeldir isn't correct????

I often open the other workbook, build a formula that points to that cell, then
close that workbook so I can see how excel builds that long string.

You may want to post back both versions -- a direct link and the formula you're
using (and what's in modeldir) if you have trouble.



Norm wrote:

Can someone help me out and explain (show an example formula) of how to use
Harlan's pull function?

It sounds exactly like what I need, but I cannot get it to work. Below is
what I have input into the cell which I need to recover data from a closed
workbook.

=pull("'"&ModelDir&"\[jointdefaults.xls]Defaults'!$C$21")

am I even close?

The spreadsheet is always named jointdefaults.xls and the folder path is
obtained in the range ModelDir.


--

Dave Peterson

  #4   Report Post  
Norm
 
Posts: n/a
Default

Dave,

Still having trouble.

ModelDir = C:\TeklastructuresModels\11.2
Cell which returns the correct result =
"='C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5"

Cell which returns
"='C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5" is =
"="='"&ModelDir&"\[jointdefaults.xls]Boltrows'!$E$5""

I have tried variations of this as well

Cell =
"="'"&ModelDir&"\[jointdefaults.xls]Boltrows'!$E$5"" returns
"'C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5"




"Norm" wrote:

Dave,

Thanks! That did work, however I need to be able use the value ModelDir for
the path and folder location of the xls file. Is that possible. Your method
leaves me with a static result.

Norm

"Dave Peterson" wrote:

I'd copy that formula to an empty cell.
Then I'd remove the pull( and last ).
Then with the cursor still in the formula bar, hit F9 to convert it to text.
Then add the = sign to the formula.

Did that work ok?

If not, maybe your modeldir isn't correct????

I often open the other workbook, build a formula that points to that cell, then
close that workbook so I can see how excel builds that long string.

You may want to post back both versions -- a direct link and the formula you're
using (and what's in modeldir) if you have trouble.



Norm wrote:

Can someone help me out and explain (show an example formula) of how to use
Harlan's pull function?

It sounds exactly like what I need, but I cannot get it to work. Below is
what I have input into the cell which I need to recover data from a closed
workbook.

=pull("'"&ModelDir&"\[jointdefaults.xls]Defaults'!$C$21")

am I even close?

The spreadsheet is always named jointdefaults.xls and the folder path is
obtained in the range ModelDir.


--

Dave Peterson

  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

I used this formula:

=pull("'"&modeldir&"\[jointdefaults.xls]Boltrows'!$E$5")

And Harlan's UDF worked fine for me.

(I still wanted you to keep the =pull() portion.)

Norm wrote:

Dave,

Still having trouble.

ModelDir = C:\TeklastructuresModels\11.2
Cell which returns the correct result =
"='C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5"

Cell which returns
"='C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5" is =
"="='"&ModelDir&"\[jointdefaults.xls]Boltrows'!$E$5""

I have tried variations of this as well

Cell =
"="'"&ModelDir&"\[jointdefaults.xls]Boltrows'!$E$5"" returns
"'C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5"

"Norm" wrote:

Dave,

Thanks! That did work, however I need to be able use the value ModelDir for
the path and folder location of the xls file. Is that possible. Your method
leaves me with a static result.

Norm

"Dave Peterson" wrote:

I'd copy that formula to an empty cell.
Then I'd remove the pull( and last ).
Then with the cursor still in the formula bar, hit F9 to convert it to text.
Then add the = sign to the formula.

Did that work ok?

If not, maybe your modeldir isn't correct????

I often open the other workbook, build a formula that points to that cell, then
close that workbook so I can see how excel builds that long string.

You may want to post back both versions -- a direct link and the formula you're
using (and what's in modeldir) if you have trouble.



Norm wrote:

Can someone help me out and explain (show an example formula) of how to use
Harlan's pull function?

It sounds exactly like what I need, but I cannot get it to work. Below is
what I have input into the cell which I need to recover data from a closed
workbook.

=pull("'"&ModelDir&"\[jointdefaults.xls]Defaults'!$C$21")

am I even close?

The spreadsheet is always named jointdefaults.xls and the folder path is
obtained in the range ModelDir.


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Norm
 
Posts: n/a
Default

Dave,

Something is really strange here. I get the correct result in the cell when
I do not use =pull().

I attempted to copy and paste the formula you have below, but I continue to
get the same result. - #VALUE!

Using the pull() function seems like it is more logical, but the cell only
seems to process when you would normally get #REF!

Is it possible I have grabbed the wrong pull function?

"Dave Peterson" wrote:

I used this formula:

=pull("'"&modeldir&"\[jointdefaults.xls]Boltrows'!$E$5")

And Harlan's UDF worked fine for me.

(I still wanted you to keep the =pull() portion.)

Norm wrote:

Dave,

Still having trouble.

ModelDir = C:\TeklastructuresModels\11.2
Cell which returns the correct result =
"='C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5"

Cell which returns
"='C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5" is =
"="='"&ModelDir&"\[jointdefaults.xls]Boltrows'!$E$5""

I have tried variations of this as well

Cell =
"="'"&ModelDir&"\[jointdefaults.xls]Boltrows'!$E$5"" returns
"'C:\TeklaStructuresModels\11.2\[jointdefaults.xls]Boltrows'!$E$5"

"Norm" wrote:

Dave,

Thanks! That did work, however I need to be able use the value ModelDir for
the path and folder location of the xls file. Is that possible. Your method
leaves me with a static result.

Norm

"Dave Peterson" wrote:

I'd copy that formula to an empty cell.
Then I'd remove the pull( and last ).
Then with the cursor still in the formula bar, hit F9 to convert it to text.
Then add the = sign to the formula.

Did that work ok?

If not, maybe your modeldir isn't correct????

I often open the other workbook, build a formula that points to that cell, then
close that workbook so I can see how excel builds that long string.

You may want to post back both versions -- a direct link and the formula you're
using (and what's in modeldir) if you have trouble.



Norm wrote:

Can someone help me out and explain (show an example formula) of how to use
Harlan's pull function?

It sounds exactly like what I need, but I cannot get it to work. Below is
what I have input into the cell which I need to recover data from a closed
workbook.

=pull("'"&ModelDir&"\[jointdefaults.xls]Defaults'!$C$21")

am I even close?

The spreadsheet is always named jointdefaults.xls and the folder path is
obtained in the range ModelDir.


--

Dave Peterson


--

Dave Peterson

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 get an IF statement to pull a date range?? Brooke Medvecky Excel Worksheet Functions 9 April 19th 06 08:48 PM
Can a worksheet pull from a specific cell value in a separate wrks reloanpro Excel Worksheet Functions 4 June 27th 05 10:03 PM
Problems with PULL function, INDIRECT.EXT and so forth [email protected] Excel Worksheet Functions 4 June 23rd 05 10:02 AM
Data from closed workbooks (pull func, indirect.ext, etc ....) [email protected] Excel Worksheet Functions 1 June 22nd 05 03:24 PM
Pull Down Menu Bar JB in Kansas Excel Discussion (Misc queries) 2 May 30th 05 02:20 PM


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