Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default User Input - sheet and ranges

I am having a mental block right now! ahh!

How can I get the user to point to a range on a sheet and get the sheet name
and range name?

Thank you.

Richard


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default User Input - sheet and ranges

Hi Richard,

Try:

Set mycRng = Application.InputBox("Select range", Type:=8)

MsgBox myRngl.Address(External:=True)



---
Regards,
Norman



"Richard Mertl" wrote in message
...
I am having a mental block right now! ahh!

How can I get the user to point to a range on a sheet and get the sheet
name
and range name?

Thank you.

Richard




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default User Input - sheet and ranges

Hi Richard,

There is a typo.

MsgBox myRngl.Address(External:=True)


should read:

MsgBox myRng.Address(External:=True)


---
Regards,
Norman


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
Moving data in one excel column to another sheet based on user input [email protected] Excel Discussion (Misc queries) 1 May 10th 07 05:47 PM
I would like to sort a work sheet based upon user input value,(dat John Bundy Excel Worksheet Functions 0 November 30th 06 04:18 PM
I would like to sort a work sheet based upon user input value,(dat A1CaddMan Excel Worksheet Functions 0 November 29th 06 03:53 PM
User input to name a sheet? StargateFan[_3_] Excel Programming 2 February 3rd 06 08:21 PM
Help with Macro. -- User input for sheet name Michael A Excel Programming 9 January 6th 06 03:17 PM


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