Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 90969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:57:24+00:00 2026-05-10T22:57:24+00:00

For statistical reasons, I want an extensive analysis from a dataset. I already have

  • 0

For statistical reasons, I want an extensive analysis from a dataset. I already have a function that exports the data to Excel, but I have raw data that way; 500 lines, 35 columns, heaps of text sometimes…

Is it possible to include a macro into a function so that the excelfile is readymade to be analyzed?

I am using ASP, Javascript, and at the moment Excel 2003. This is the current function (written by one of my predecessors):

    function exporttoexcel()     { //export to excel         if (tableSortArray.length > 0)         {            var t, arr;           var tempArray=new Array();            for(var i=0; i, i<tableSortArray.length; i++) {               arr = tableSortArray[i].toString();               arrr = (arr.split(','));               if (i==0) { t = arrr[1]; }               else { t += ','+arrr[1]; }           }           document.excel.t.value = t;         }         // I left out some mumbojumbo about sorting here         document.excel.submit(); } 

I mean macro’s so that graphs are made ‘automatically’ as well as some turntables…

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:57:24+00:00Added an answer on May 10, 2026 at 10:57 pm

    Stolen from mrexcel.com (google + cut_paste = faster than typing):

    ' Delete any old stray copies of the module1 On Error Resume Next Kill ('C:\MrXL1.bas') On Error GoTo 0 ' Export Module 1 ActiveWorkbook.VBProject.VBComponents('module1').Export ('c:\MrXL1.bas') For x = 1 to 54    ThisBroker = Sheets('BrokerList').range('A' & x).value     

    ‘ customization of plan omited for brevity Sheets(Array(‘Menu’, ‘Plan’)).Copy NBName = ActiveWorkbook.Name
    ‘ new book name ‘ Import Module 1 to this new book Application.VBE.ActiveVBProject.VBComponents.Import (‘c:\MrXL1.bas’) ActiveWorkbook.SaveAs Filename:=ThisBroker ActiveWorkbook.Close Next x Kill (‘C:\MrXl1.bas’)

    Alternatively you could also just setup a master excel file (say called ‘analysis.xls’) that references the data in the ‘data’ excel file, for example in a cell enter:

    =’Z:\excel-data[Current-data.xls]Sheet1′!$A$1

    User opens up the master (‘analysis.xls’) and it in turn adds all the values from Z:\excel-data\Current-data.xls, just replace Current-data.xls with new data as needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an R Server (R is a programming language used in statistical analysis)
I'm looking for a basic software for statistical analysis. Most important is simple and
I want to increment an unsigned integer from multiple threads. I know about Interlocked.Increment,
Say I have two tables, user and comment . They have table definitions that
I read many files from my system. I want to read them faster, maybe
I have developed an app that runs as a windows service and regularly does
This question comes from a range of other questions that all deal with essentially
I have a program that needs to repeatedly compute the approximate percentile (order statistic)
Which one among the two languages is good for statistical analysis? What are the
Im trying to setup situation where users of application can do statistical analysis of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.