Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA, cell-range-popup box?

Hi all,

I want to write a Sub which takes a cell range as an input. I want the
user to selsect this input each time the macro is run. So I want an
input box which tracks the cells selected after the box has popped up,
JUST LIKE the one used for selecting input range for Chart Wizard.

What is it called, if it even exists?

Further, is there a webpage which shows the names of all the VBA
components against their names.

Cheers,

Rory

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default VBA, cell-range-popup box?

You can use Application.Inputbox with a type 8

Dim rng As Range
Set rng = Application.Inputbox("Select a range",Type:=8)
If Not rng Is Nothing Then
...

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Kidaz" wrote in message
ups.com...
Hi all,

I want to write a Sub which takes a cell range as an input. I want the
user to selsect this input each time the macro is run. So I want an
input box which tracks the cells selected after the box has popped up,
JUST LIKE the one used for selecting input range for Chart Wizard.

What is it called, if it even exists?

Further, is there a webpage which shows the names of all the VBA
components against their names.

Cheers,

Rory



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA, cell-range-popup box?

Thanks, thats awesome. It works perfectly!

Rory

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
creating a popup answer for an average range of cells 1zipsails Excel Worksheet Functions 1 August 24th 08 01:40 AM
How to have an error popup once range cell amount is greater than Daniel Bunt Excel Discussion (Misc queries) 2 January 27th 07 02:58 PM
Excel2007Beta2: Selecting Range doesn't popup DesignTab PatrickV Excel Discussion (Misc queries) 2 May 25th 06 07:28 PM
Popup for cell change Craig Excel Programming 8 September 13th 05 05:43 AM
Display range of cells in popup window Ashley Excel Programming 0 June 16th 04 07:02 AM


All times are GMT +1. The time now is 11:05 PM.

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"