#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default mail

Private Sub Commandbutton8_click()

Dim rng as Range, rng1 as Range
with Activesheet
set rng = .Range(listbox1.rowsource)(listbox1.ListIndex+1)

set rng1 = .Range(listbox2.rowsource)(listbox2.ListIndex+1)


..Range(rng,rng1).copy _
Destination:=worksheets("Sheet5").Range("A1")
End with

End sub



--
Regards,
Tom Ogilvy


D wrote in message
...
I need a routine with a urserform that selects one point out of a listbox
from a list on a worksheet and then make a selection from a second listbox
from another point from the same list on the worksheet and then with a
command button send the selected list to another worksheet.
Anyone got any ideas?
Thanks




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
mail merge multiple lines in an e-mail Guy[_2_] Excel Discussion (Misc queries) 1 December 1st 09 08:32 PM
E-Mail attachment to same e-mail address in Outlook Vick Excel Discussion (Misc queries) 4 May 17th 07 07:53 PM
E-mail to every e-mail address in an Excel column? MrMan&Fam Excel Discussion (Misc queries) 24 July 19th 06 09:35 AM
Error: cannot load the mail service. Check your mail installation. Brad Bowser Excel Discussion (Misc queries) 0 December 20th 05 10:03 PM
General mail failure when sending e-mail from Excel Adrienne Excel Discussion (Misc queries) 5 November 4th 05 12:59 PM


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