+ Reply to Thread
Results 1 to 6 of 6

Help with intermediate vba project. stock date and prices.

  1. #1
    Registered User
    Join Date
    01-03-2015
    Location
    US
    MS-Off Ver
    2011
    Posts
    2

    Angry Help with intermediate vba project. stock date and prices.

    I'm working on an intermediate project, but I'm a novice at VBA. I've been given stock date and prices and need to accomplish (1) i've to make a file that publishes the data with the date and stock price, (2) make a file with stock averages and (3) make a file with dates when the stock price was a certain price. I'm not allowed to use any Excel-related objects or functions or make references to cells, Ranges, Worksheets, worksheet functions, etc. cannot copy/paste data into worksheets.I've been given a csv file, but don't really know where to begin. Appreciate any help or guidance.

  2. #2
    Registered User
    Join Date
    09-01-2011
    Location
    georgia
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Help with intermediate vba project. stock date and prices.

    Does the project require that you use VBA and manually perform all calculations? If not, I feel that Pivot Tables may be able to better organize the data after importing it into Excel using the Data Import from Text feature to create the spreadsheet from a CSV.

    However, if this requires VBA without any of Excel's higher functions then this certainly can get somewhat complicated. When you say you have to make a file that publishes the data for each of your 3 requirements, does this mean create three separate spreadsheet files (.xlsx) or back to a new (.csv)? Either way, I suggest looking into examples of reading from and writing to .csv or .txt files.

  3. #3
    Registered User
    Join Date
    01-03-2015
    Location
    US
    MS-Off Ver
    2011
    Posts
    2

    Re: Help with intermediate vba project. stock date and prices.

    Yea suppose to perform all calculations manually and then publish them as 3 csv files. Any place online that i might be able to find a code template that i might be able to work with?

  4. #4
    Registered User
    Join Date
    09-01-2011
    Location
    georgia
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Help with intermediate vba project. stock date and prices.

    I'm not at a computer right now but here's a template that I made in another thread that finds and replaces an item in a csv. Feel free to modify it for your needs. It reads one file then creates a new copy after replacement of the text.

    http://www.excelforum.com/excel-prog...-in-excel.html
    Last edited by persecuted; 01-03-2015 at 07:11 PM. Reason: updated explanation

  5. #5
    Forum Contributor
    Join Date
    12-24-2014
    Location
    little ole England
    MS-Off Ver
    2013
    Posts
    116

    Re: Help with intermediate vba project. stock date and prices.

    think i would answer the question

    this is impossible VBA is itself an excel object as is a CSV file ... not exclusively but is

    any operation is a function

    or am i reading the task wrongly
    ◄Ŧя?μвŁ?►
    By Name & By Nature

  6. #6
    Forum Contributor
    Join Date
    12-24-2014
    Location
    little ole England
    MS-Off Ver
    2013
    Posts
    116

    Re: Help with intermediate vba project. stock date and prices.

    suppose you could just use Access then you not using any excel features

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to add weekends to a date range of Stock Prices??
    By datageek6810 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-27-2013, 12:01 PM
  2. Stock Prices import
    By roger00782006 in forum Excel General
    Replies: 9
    Last Post: 12-09-2010, 11:23 AM
  3. Importing AUS stock prices
    By oldpos in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-21-2008, 07:56 AM
  4. Excel 2007 : Downloading Stock Prices
    By Rayddd in forum Excel General
    Replies: 3
    Last Post: 10-17-2008, 10:32 AM
  5. Updating Stock Prices
    By cheshajim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2007, 07:51 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1