Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I need a button that when pressed, will take data from one table an populate it into another table on a different worksheet. Thanks for any help. E -- edwardpestia ----------------------------------------------------------------------- edwardpestian's Profile: http://www.excelforum.com/member.php...fo&userid=3380 View this thread: http://www.excelforum.com/showthread.php?threadid=53618 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I will keep it simple:
Range ("Table").Select 'If the range has a name, otherwise Range ("A1:D8").Select Selection.Copy Sheets("Sheet2").Select Range (A1).select ActiveSheet.Paste Succes "edwardpestian" schreef in bericht news:edwardpestian.26ubym_1146003005.6151@excelfor um-nospam.com... I need a button that when pressed, will take data from one table and populate it into another table on a different worksheet. Thanks for any help. EP -- edwardpestian ------------------------------------------------------------------------ edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809 View this thread: http://www.excelforum.com/showthread...hreadid=536188 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Edward,
As a starting point, turn on the macro recorder while you perform the required steps manually. This will provide you with base code which can be edited to enable more generic application. If you experience problems with such editing, post back with details. --- Regards, Norman "edwardpestian" wrote in message news:edwardpestian.26ubym_1146003005.6151@excelfor um-nospam.com... I need a button that when pressed, will take data from one table and populate it into another table on a different worksheet. Thanks for any help. EP -- edwardpestian ------------------------------------------------------------------------ edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809 View this thread: http://www.excelforum.com/showthread...hreadid=536188 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Edward
Add a shape to your page to represent your button, eg a small circle. Right click on the shape and assign a macro to it. Macro could be ... sub DataShift () Set Sh1 = Sheets("Nameofsheet") Set Sh2 = Sheets("Nameofsheet2") Sh2.range("A1:A20") = Sh1.range("C1:C20").value end sub edwardpestian wrote: I need a button that when pressed, will take data from one table and populate it into another table on a different worksheet. Thanks for any help. EP |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculating monthly start date with a start date | Excel Worksheet Functions | |||
start:1 and start:2 - how did i get 2 copies? | Excel Discussion (Misc queries) | |||
OT :Start your own online business today !start making dollars | Excel Discussion (Misc queries) | |||
Start spreadsheet with WinXP start | Excel Worksheet Functions | |||
Start sub in Col B | Excel Programming |