Re: Writing VBA Script



subvanpatent wrote:
I am trying to write a script to help me determine the Mean Time
Between Repair for equipment. I played with it all day yesterday but
was not able to figure it out. Right now I have to enter the string
manually. The formula I am using is
"=AVERAGE(C7-C6,C6-C5,C5-C4,C4-C3,C3-C2)" where C7 would be the
latest date to C2 the earliest date. As you can see this would
become cumbersome with numerous dates. --
Jim

Boy, are you in the wrong place!! :-)

1. VBA is not vbscript.
2. inetsdk refers to programming internet applications, not Office

It looks like you are using Excel, so you need to go into the Office
Solutions node over there in the table of contents and navigate to the
Excel VBA group(s).

There is also a much-used forum for Excel users at
http://www.mrexcel.com/forum/index.php?s=842adad78fef7834e54f98f657ea4d0c
if you prefer that route

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


.



Relevant Pages

  • Re: ActiveX dll with progress feedback to Excel .xla
    ... >I will, but you can't make an ActiveX dll with Excel VBA, so I thought a VB ... >newsgroup was my best bet. ... it was a good choice since the DLL is written in VB6. ...
    (microsoft.public.vb.general.discussion)
  • RE: Excel Macro Security Problem - Trusted macros not running for users (but do run for domain a
    ... After Outlook 2000 to Outlook 2003, you can not run Excel macro. ... This newsgroup is primarily for issues involving deployment, configuration, ...
    (microsoft.public.windows.server.sbs)
  • RE: WSS Imports
    ... The issue may occur due to that the Excel 2003 is not installed on the ... Please try to install the Excel 2003 or Office 2003 on the ... This newsgroup only focuses on SBS technical issues. ... you may want to contact Microsoft CSS directly. ...
    (microsoft.public.windows.server.sbs)
  • RE: Sharepoint Services - Missing Document Issue
    ... created and saved through Excel. ... We only use two document libraries, ... > Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: Trouble with this VBA
    ... This newsgroup is for questions about using VBA in Access, ... I can figure out how to execute it from Excel. ... Dim oShp As Shape ...
    (microsoft.public.access.modulesdaovba)