Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2016, 09:46 PM
k31453 k31453 is offline Data logging with one button Windows 7 64bit Data logging with one button Office 2010 64bit
Novice
Data logging with one button
 
Join Date: Sep 2012
Posts: 7
k31453 is on a distinguished road
Default Data logging with one button

Hi,

I have got this excel sheet.



dota.png

What I want to do is to when I click "Save Trade", I want that to be written in under "Trade Log".

I know programming but I have no clue regarding macro programming.
Reply With Quote
  #2  
Old 07-02-2016, 01:40 AM
KunleExcel KunleExcel is offline Data logging with one button Windows 8 Data logging with one button Office 2010 32bit
Novice
 
Join Date: Jun 2016
Location: Nigeria
Posts: 17
KunleExcel is on a distinguished road
Default Save Trade

Dear k31453,

Give me a sample Excel file and i will help you with it.
Reply With Quote
  #3  
Old 07-02-2016, 06:55 AM
KunleExcel KunleExcel is offline Data logging with one button Windows 8 Data logging with one button Office 2010 32bit
Novice
 
Join Date: Jun 2016
Location: Nigeria
Posts: 17
KunleExcel is on a distinguished road
Default Button to Save

Attached is macro-enabled sample file.
Attached Files
File Type: xlsm Data logging with one button.xlsm (19.3 KB, 11 views)
Reply With Quote
  #4  
Old 07-02-2016, 07:53 AM
NoSparks NoSparks is offline Data logging with one button Windows 7 64bit Data logging with one button Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

I would use this on the Sheet's module
Code:
Sub Button1_Click()

    Dim nr As Long  'next row
    Dim rng As Range
    
Set rng = Range("A7:Q7")
nr = Cells(Rows.Count, "C").End(xlUp).Row + 1

rng.Copy Cells(nr, 1)
rng.ClearContents
Range("A7").Select
Application.CutCopyMode = False

End Sub
Reply With Quote
  #5  
Old 07-03-2016, 04:44 PM
k31453 k31453 is offline Data logging with one button Windows 7 64bit Data logging with one button Office 2010 64bit
Novice
Data logging with one button
 
Join Date: Sep 2012
Posts: 7
k31453 is on a distinguished road
Default

Thank you very much everyone
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Data logging with one button How to import excel calender data into outlook - with a click of a button levrone Excel 24 10-01-2021 05:33 AM
How do I create a personal event logging form? kton Office 1 12-22-2014 11:56 PM
Data logging with one button Button Filtering Data in a 2010 Report runswick Word 1 10-20-2012 11:03 AM
Logging junk mail iforetnot Outlook 0 04-14-2011 07:48 AM
Data logging with one button autofill data using keywords or button clicks IG&H Excel 1 01-17-2010 08:08 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft