Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am attempting to allow users to select a worksheet using the mouse and
then copy that sheet to a new sheet. I am using this formula:- Dim rng as Range On Error Resume Next set rng = Application.InputBox("use mouse to select any cell in desired sheet", Type:=8) On Error goto 0 if not rng is nothing then msgbox "You selected the sheet named: " & rng.parent.name else msgbox "You hit cancel" End If Cells.Select Selection.Copy However when a sheet is selected, I am simply returned to the active sheet. Help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Not able to select range of cells with mouse. | New Users to Excel | |||
How can I select a range manually with the mouse? | Excel Programming | |||
How to select Chart without using Mouse? | Charts and Charting in Excel | |||
Using mouse to select a single cell within the worksheet | Excel Discussion (Misc queries) | |||
[Help]Excel mouse select region | Excel Programming |