Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 473
Default Inserting Functions

Scott wrote:
Is there some syntax that will allow me to insert a
function into a spreadsheet using oledb? I have tried
using '=RTD("Server",,"Value", "Value"' but Excel
interprets this as text.


I assume the missing ) is a typo in your message.
If you change the number format of the cell to be other than text and
press F2 and then Enter does the function function?

If so, then you may need to do the equivalent of that after getting the
data in, something like:

With ActiveCell.QueryTable.Columns(2)
.NumberFormat = "General"
.Formula = .Formula
End With

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup

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
Inserting "true" blanks with functions bearspa Excel Worksheet Functions 5 August 3rd 09 07:54 PM
Inserting Rows and the affect on Functions Mike O. Excel Worksheet Functions 3 July 13th 09 11:56 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Inserting a row with functions Elbowhite Excel Worksheet Functions 0 August 26th 05 09:54 AM
Can I retain functions from a previous cell when inserting a new r Philobr Excel Discussion (Misc queries) 1 December 3rd 04 10:41 AM


All times are GMT +1. The time now is 05:01 PM.

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"