Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Where to start?


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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Where to start?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Where to start?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Where to start?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating monthly start date with a start date Monique Excel Worksheet Functions 3 December 20th 08 09:50 AM
start:1 and start:2 - how did i get 2 copies? LuvHaleiwa Excel Discussion (Misc queries) 1 December 21st 07 09:14 PM
OT :Start your own online business today !start making dollars [email protected] Excel Discussion (Misc queries) 0 May 6th 06 09:29 PM
Start spreadsheet with WinXP start Gordon Gradwell Excel Worksheet Functions 1 July 13th 05 11:35 AM
Start sub in Col B Hugh Excel Programming 2 April 30th 05 05:36 PM


All times are GMT +1. The time now is 03:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"