Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Multi Select Cells

Hi all

Please help, I have 2 Sheets. 1 of Which is the database.

What I would like to do is to select diferent cells (only 1 cell from a
row) from the database (may be via a inputbox) and the cells Ive
selceted, the entire row is coppied (only values) to the other sheet.


Many thanks

Dave


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Multi Select Cells

Hi David

Seee
http://www.rondebruin.nl/copy1.htm

You can try it with this

smallrng.EntireRow.Copy


--
Regards Ron de Bruin
http://www.rondebruin.nl



"David" wrote in message . uk...
Hi all

Please help, I have 2 Sheets. 1 of Which is the database.

What I would like to do is to select diferent cells (only 1 cell from a row) from the database (may be via a inputbox) and the
cells Ive selceted, the entire row is coppied (only values) to the other sheet.


Many thanks

Dave



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Multi Select Cells

Sub CopyRange()
Dim rng as Range
Dim rng1 as Range
On error resume Next
set rng = Application.Inputbox("Select single cell for row to copy", _
type:=8)
ON error goto 0
if rng is nothing then exit sub

On Error Resume Next
set rng = Application.InputBox("Select destination cell", _
type:=8)
On Errog goto 0
if rng1 is nothing then exit sub
rng.EntireRow.copy Destination:=
rng1.offset(0,-(rng1(1).Column-1))

End Sub

--
Regards,
Tom Ogilvy


"David" wrote in message
. uk...
Hi all

Please help, I have 2 Sheets. 1 of Which is the database.

What I would like to do is to select diferent cells (only 1 cell from a
row) from the database (may be via a inputbox) and the cells Ive
selceted, the entire row is coppied (only values) to the other sheet.


Many thanks

Dave




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
Is it possible to select a multi value from a drop down box Carrie Excel Discussion (Misc queries) 12 June 10th 09 08:10 PM
Multi-select Combo Box Dean Excel Programming 2 June 17th 04 09:28 AM
multi select listbox Paul Mueller Excel Programming 2 June 10th 04 09:08 PM
Extract values from a multi-select multi-column list-box Peter[_20_] Excel Programming 5 September 28th 03 04:04 PM
Multi Select List Box jacqui Excel Programming 0 July 22nd 03 12:12 PM


All times are GMT +1. The time now is 10:53 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"