Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Capture range object address

I am using Set oMyRange = Application.InputBox(Prompt, Title, Type:=8) to
capure user range input. I see in the refedit box on the inputbox that
"Sheet1!$E$24" shows up but the worksheet name is dropped when capturing the
address, IE, $E$24 is what is returned. I want the worksheet to be returned
as well.

How may this be done?

TIA

doco


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Capture range object address

Never mind - what a bone head!!

This works...

Set oMyRange = Application.InputBox(Prompt, Title, Type:=8)

MsgBox = oMyRange.Address(True, True, ,True) ' Returns
[Book]Sheet!Address



"doco" wrote in message
...
I am using Set oMyRange = Application.InputBox(Prompt, Title, Type:=8) to
capure user range input. I see in the refedit box on the inputbox that
"Sheet1!$E$24" shows up but the worksheet name is dropped when capturing
the address, IE, $E$24 is what is returned. I want the worksheet to be
returned as well.

How may this be done?

TIA

doco




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
Capture te first n digits of a range [email protected] Excel Programming 2 September 2nd 05 06:59 PM
Use VBA to capture IP address KR Excel Programming 2 January 11th 05 04:15 PM
Capture Dynamic Range address into Modeless Form pining Excel Programming 3 November 11th 04 08:55 AM
Capture Dynamic Range address into Modeless Form pining[_2_] Excel Programming 0 November 11th 04 08:05 AM
Capture Outlook E-Mail Address Tom B Excel Programming 1 March 1st 04 08:09 PM


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