Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Getting result of formula instead of actual formula

I am working on a routine to send information from excel to a users
quickbooks company file. If the user has created a formula to calculate
the value of a cell when the import routine sends it to quickbooks it
sends the formula instead of the result of the formula. The line of
code that pulls the information is formatted as follows:
worksheet.range("A" & 2).value
The quickbooks portion is working correctly when only values are
entered. Thanks for any advice.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Getting result of formula instead of actual formula

Couple of questions...
Is "worksheet" a worksheet object variable, a sheet code name or
maybe a typo?
Is the entry in cell A2 a working formula or could it
be considered text by Excel?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"LoDawg"

wrote in message
I am working on a routine to send information from excel to a users
quickbooks company file. If the user has created a formula to calculate
the value of a cell when the import routine sends it to quickbooks it
sends the formula instead of the result of the formula. The line of
code that pulls the information is formatted as follows:
worksheet.range("A" & 2).value
The quickbooks portion is working correctly when only values are
entered. Thanks for any advice.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Getting result of formula instead of actual formula

Sorry for the confusion. worksheet is an object variable, and the entry
in cell A2 is of the format: =(U16/54) + 6.


Jim Cone wrote:
Couple of questions...
Is "worksheet" a worksheet object variable, a sheet code name or
maybe a typo?
Is the entry in cell A2 a working formula or could it
be considered text by Excel?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"LoDawg"

wrote in message
I am working on a routine to send information from excel to a users
quickbooks company file. If the user has created a formula to calculate
the value of a cell when the import routine sends it to quickbooks it
sends the formula instead of the result of the formula. The line of
code that pulls the information is formatted as follows:
worksheet.range("A" & 2).value
The quickbooks portion is working correctly when only values are
entered. Thanks for any advice.


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
Changing Cell contents from formula to the actual result [email protected] Excel Discussion (Misc queries) 2 January 10th 08 07:10 PM
copying the Hyperlink function result without copying the actual formula mcheng Excel Worksheet Functions 2 June 9th 07 02:43 AM
Switching Between Showing Formula Or Actual Result In A Cell ? Robert11 New Users to Excel 4 December 29th 06 02:53 PM
Advanced formula - Return result & Show Cell Reference of result Irv Excel Worksheet Functions 7 May 6th 06 03:36 AM
How can I sort by the value of my formula and not actual formula Mar Excel Worksheet Functions 1 October 26th 05 09:51 PM


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