Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Is there a way to change the active cell by a text box?

I wonder if you guys could help me out with this little problem. I am
trying to give the user an option to pick a cell.

So for example: The User types in A10 & then clicks a button to
activate the cell address just entered(A10).

Im stuck, so far i have got:

Private Sub RowButton_Click()

row = RowBox.Text

Worksheets("Orders Placed").Range("row").Activate

End Sub

That doesnt work, im still learning so any help would be apreciated

Cheers Ash

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Is there a way to change the active cell by a text box?

with Worksheets("Orders Placed")
.activate
.Range(row).select
end with

or with minor error checking...

On error resume next
application.goto worksheets("orders placed").range(row)
if error < 0 then
beep
error.clear
end if

wrote:

I wonder if you guys could help me out with this little problem. I am
trying to give the user an option to pick a cell.

So for example: The User types in A10 & then clicks a button to
activate the cell address just entered(A10).

Im stuck, so far i have got:

Private Sub RowButton_Click()

row = RowBox.Text

Worksheets("Orders Placed").Range("row").Activate

End Sub

That doesnt work, im still learning so any help would be apreciated

Cheers Ash


--

Dave Peterson
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
Active Cell To Change Formula PaulW Excel Discussion (Misc queries) 7 September 21st 06 04:03 PM
On a Mac how do I change the border colour of the active cell? Lino Excel Discussion (Misc queries) 2 May 23rd 06 01:36 PM
Change Formatting In 'Active' Cell JB2010 Excel Discussion (Misc queries) 4 February 2nd 06 05:58 PM
How do I change color of active cell in Excel lfletcher Excel Discussion (Misc queries) 4 April 4th 05 06:29 PM
Active / Dynamic Filtered List (changes w/ change in cell value) [email protected] Excel Discussion (Misc queries) 3 March 31st 05 04:03 PM


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