LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default Range Prompt

Hi I have the following code which is working well, but I'd like to improve
on it.
Ideally I would like a msg prompt to select "AK2"
Perhaps I could name the range AK2 as I have "RANKING"? Not sure about msg
prompt?
If anyone could help, I would appreciate it.
Kind Regards
Tanya

Private Sub CommandButton3_Click()
UnProtect_Workbook
Application.Goto Reference:="RANKING"
ActiveWindow.SmallScroll Down:=-9
'Sort by Sem-2 Rank
Selection.Sort Key1:=Range("AK2"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
ActiveWindow.SmallScroll ToRight:=2
Protect_Workbook
End Sub
 
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
save prompt for user exit, but no save prompt for batch import? lpj Excel Discussion (Misc queries) 1 February 25th 06 02:08 AM
Help on Prompt Zubair Excel Worksheet Functions 0 January 17th 05 09:15 AM
Prompt for Value halem2[_53_] Excel Programming 1 November 16th 04 07:07 PM
Prompt for Value halem2[_52_] Excel Programming 0 November 16th 04 02:14 PM
Prompt for a range to apply code to Steph[_3_] Excel Programming 2 April 29th 04 04:28 PM


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