#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default data base

hy, i hope someone can halp me..
i have 4 sheets...A,B,C,and FRONT..and i want to select in "FRONT" from a
drop down box "A,B or C"...and the data that i put in the row, to appear in
the corespondent worksheet(ex A)

ex:
sheet FRONT
A 23 14 55 22 (A is a dropdown box)
if i select from the dropdown box "B"...the data to automatically be
transfered to B sheet


sheet A
a b c d

1 1 0 18 29

2 20 20 0 0

3 23 14 55 22 (this is the last numbers that i put in
the "FRONT"sheet's row

thanks alot...i hope that my english in k..:) thanks again
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default data base

Hi,

Please can you confirm whther you wish to add this new data into a new row on
your corresponding sheet or whether it will replace data already there.

Thanks,

Simon

puiuluipui wrote:
hy, i hope someone can halp me..
i have 4 sheets...A,B,C,and FRONT..and i want to select in "FRONT" from a
drop down box "A,B or C"...and the data that i put in the row, to appear in
the corespondent worksheet(ex A)

ex:
sheet FRONT
A 23 14 55 22 (A is a dropdown box)
if i select from the dropdown box "B"...the data to automatically be
transfered to B sheet

sheet A
a b c d

1 1 0 18 29

2 20 20 0 0

3 23 14 55 22 (this is the last numbers that i put in
the "FRONT"sheet's row

thanks alot...i hope that my english in k..:) thanks again


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200611/1

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default data base

hy, i want to add a new data in a new row on the corresponding sheet. thanks
alot.

"smw226 via OfficeKB.com" wrote:

Hi,

Please can you confirm whther you wish to add this new data into a new row on
your corresponding sheet or whether it will replace data already there.

Thanks,

Simon

puiuluipui wrote:
hy, i hope someone can halp me..
i have 4 sheets...A,B,C,and FRONT..and i want to select in "FRONT" from a
drop down box "A,B or C"...and the data that i put in the row, to appear in
the corespondent worksheet(ex A)

ex:
sheet FRONT
A 23 14 55 22 (A is a dropdown box)
if i select from the dropdown box "B"...the data to automatically be
transfered to B sheet

sheet A
a b c d

1 1 0 18 29

2 20 20 0 0

3 23 14 55 22 (this is the last numbers that i put in
the "FRONT"sheet's row

thanks alot...i hope that my english in k..:) thanks again


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200611/1


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default data base

Hi,

Paste this into a new module:


Sub sheetmove()
Dim sheet_name As String
sheet_name = Range("A1").Value 'This is the cell which contains your sheet
letter
Range("A4:D4").Select 'This is the range which you want to copy
Selection.Copy
Sheets(sheet_name).Select
Range("A1").Select
Selection.End(xlDown).Select
If ActiveCell.Row = 65536 Then 'This checks whether there is any data in the
sheet yet
Range("A2").Select
Else
ActiveCell.Offset(1, 0).Select
End If
ActiveCell.PasteSpecial xlPasteAll, xlPasteSpecialOperationNone, False, False
Sheets("Front").Select
Application.CutCopyMode = False
End Sub


HTH

Simon

puiuluipui wrote:
hy, i want to add a new data in a new row on the corresponding sheet. thanks
alot.

Hi,

[quoted text clipped - 27 lines]

thanks alot...i hope that my english in k..:) thanks again


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200611/1

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default data base

Sorry....this is a macro so will be activated by running it (or assigning it
to a button)

I

smw226 wrote:
Hi,

Paste this into a new module:

Sub sheetmove()
Dim sheet_name As String
sheet_name = Range("A1").Value 'This is the cell which contains your sheet
letter
Range("A4:D4").Select 'This is the range which you want to copy
Selection.Copy
Sheets(sheet_name).Select
Range("A1").Select
Selection.End(xlDown).Select
If ActiveCell.Row = 65536 Then 'This checks whether there is any data in the
sheet yet
Range("A2").Select
Else
ActiveCell.Offset(1, 0).Select
End If
ActiveCell.PasteSpecial xlPasteAll, xlPasteSpecialOperationNone, False, False
Sheets("Front").Select
Application.CutCopyMode = False
End Sub

HTH

Simon

hy, i want to add a new data in a new row on the corresponding sheet. thanks
alot.

[quoted text clipped - 4 lines]

thanks alot...i hope that my english in k..:) thanks again



--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200611/1

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
Data Matching Button for MS Excel 2007 or later Mr. Low Excel Worksheet Functions 0 October 21st 06 10:07 AM
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
Inputting data to one worksheet for it effect another daedalus1 Excel Discussion (Misc queries) 1 June 25th 06 04:39 PM
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM


All times are GMT +1. The time now is 09:07 AM.

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

About Us

"It's about Microsoft Excel"