+ Reply to Thread
Results 1 to 6 of 6

spread sheet calculations using visual basic

  1. #1
    Registered User
    Join Date
    09-16-2007
    Posts
    39

    spread sheet calculations using visual basic

    Hello, I have a spreadsheet with calculations that work correctly but, I want to automate these calculations and be able to do so more then once. I have attached a sample of both data and calculations. As you can see the formulas are starting in cell ac2 or there abouts. I want to start this same routine in say row 30. With my original formulas using $b$2:b3 etc. ranges it will not copy paste and work correctly. Help please.
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    You've zipped up a shortcut which of course can't be opened remotely

  3. #3
    Registered User
    Join Date
    09-16-2007
    Posts
    39
    oops sorry when I zipped it I got a message to save to desktop. company just came will finish later.

  4. #4
    Registered User
    Join Date
    09-16-2007
    Posts
    39
    well here is another attempt at sending zipped file. Hope this is correct as I had to copy data to another sheet I had already zipped and uploaded. Well it has the correct formulas at least in column AF are correct. I did not check other columns.
    Attached Files Attached Files
    Last edited by newdude; 10-06-2007 at 02:02 PM.

  5. #5
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    It might help you to have a look at the INDIRECT function which allows you to assemble a cell reference as a string and get over the problem of an absolute address being completely absolute

  6. #6
    Registered User
    Join Date
    09-16-2007
    Posts
    39
    thank you for your reply, i am looking at indirect but have not figured out how to use it yet. i entered =indirect ("ac3", "b20") in cell ac 20 and get value error. Still muddling through. will continue in my pursuit.
    I have just had another thought on this. will try to use this sheet for calculations and copy/paste data to another sheet. then reset this sheet for next race and so on.
    Last edited by newdude; 10-07-2007 at 08:33 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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