+ Reply to Thread
Results 1 to 3 of 3

VB Code to create historical log of current values

  1. #1
    Registered User
    Join Date
    11-16-2004
    Posts
    2

    VB Code to create historical log of current values

    Hello,
    I have been working on a huge project recording health of systems.
    I have created a simple sample of where I am stuck.

    I am trying to get the values from my "HealthDataSheet" to be logged on the "HISTORYLOG" sheet when the user pushes a button located on the "HISTORYLOG" sheet. I would like it to move to the end of the list and create a new line with the current data.

    As you can see I have started the code for the button, but I can't seem to figure out why it is not allowing it to work.

    I also have list setup for each column on the HISTORYLOG (Tier0Hist, Tier1Hist), ect...)

    If someone could look at this and give me a clue as to where I made my mistake it would help.

    Thanks,
    Attached Files Attached Files
    Last edited by N242NY; 03-10-2015 at 09:01 PM. Reason: messed up with copy paste

  2. #2
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    Re: VB Code to create historical log of current values

    I put some new code below yours and assigned the update button to the new macro.
    See if this does what you want.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-16-2004
    Posts
    2

    Re: VB Code to create historical log of current values

    ncmay, thank you very much for making the changes. It is working just as I was looking to do. You have taken my headache away.

+ 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. [SOLVED] Vba to remove wordart. Recording not working in macro.
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-28-2014, 02:18 PM
  2. Recording dynamic range using ctrl+ arrow keys not working
    By akshay12 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-03-2014, 05:57 AM
  3. [SOLVED] Recording Data Validation - stops working!
    By D_N_L in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2014, 06:40 AM
  4. Macro not working on all systems
    By Eendje in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-27-2011, 09:10 AM
  5. [SOLVED] Trust access to visual basic project in XP systems
    By kasi in forum Excel General
    Replies: 5
    Last Post: 10-13-2005, 09:05 AM

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