Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA - go to cell problem

Hi all,

I need to pick some brains - the answer is probably so simple but I
keep on missing it.

What I am after is a piece of code that will allow me to press a
command button and then jump to a certain place on the excel
spreadsheet.

For example, I have 32 graphs on one worksheet and instead of getting
the user to scroll down all the time (half of the lot that I work for
wouldn't know what to do with a scroll mouse if it bit them!!) it would
be so much easier to have a button that said "Press here to go to next
graph".

I am absolutely stuck however on how to do it, as Murphy's law states -
I can remember the complicated stuff but the easy stuff escapes me!!

Please help.

Numan


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Excel VBA - go to cell problem

If you know the cell address where the chart begins your macro should do
something like this:

Application.Goto Range("A100"), True

--
Jim Rech
Excel MVP
"Numan " wrote in message
...
| Hi all,
|
| I need to pick some brains - the answer is probably so simple but I
| keep on missing it.
|
| What I am after is a piece of code that will allow me to press a
| command button and then jump to a certain place on the excel
| spreadsheet.
|
| For example, I have 32 graphs on one worksheet and instead of getting
| the user to scroll down all the time (half of the lot that I work for
| wouldn't know what to do with a scroll mouse if it bit them!!) it would
| be so much easier to have a button that said "Press here to go to next
| graph".
|
| I am absolutely stuck however on how to do it, as Murphy's law states -
| I can remember the complicated stuff but the easy stuff escapes me!!
|
| Please help.
|
| Numan
|
|
| ---
| Message posted from http://www.ExcelForum.com/
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
tod tod is offline
external usenet poster
 
Posts: 114
Default Excel VBA - go to cell problem

Generally speaking this line will take the user to the
specified chart:

'Selects "Chart 30"
ActiveSheet.ChartObjects("Chart 30").Select

The charts are named in the order they were created.


-----Original Message-----
Hi all,

I need to pick some brains - the answer is probably so

simple but I
keep on missing it.

What I am after is a piece of code that will allow me to

press a
command button and then jump to a certain place on the

excel
spreadsheet.

For example, I have 32 graphs on one worksheet and

instead of getting
the user to scroll down all the time (half of the lot

that I work for
wouldn't know what to do with a scroll mouse if it bit

them!!) it would
be so much easier to have a button that said "Press here

to go to next
graph".

I am absolutely stuck however on how to do it, as

Murphy's law states -
I can remember the complicated stuff but the easy stuff

escapes me!!

Please help.

Numan


---
Message posted from http://www.ExcelForum.com/

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA - go to cell problem

Hi all

Thanks to everyone that answered this plea, I have now mastered 3 ne
ways of doing wnat I require.

Thanks all

Numan:

--
Message posted from http://www.ExcelForum.com

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
Excel Cell Color Problem aeae Excel Discussion (Misc queries) 3 February 18th 09 10:21 AM
Excel Cell Color Problem aeae[_2_] Excel Discussion (Misc queries) 0 February 7th 09 04:36 AM
EXCEL CELL CONVERSION PROBLEM 2 Jane Excel Discussion (Misc queries) 2 March 15th 07 11:36 AM
Excel cell problem Steve Excel Discussion (Misc queries) 5 October 5th 05 12:52 AM
EXCEL CELL problem babeash Excel Discussion (Misc queries) 0 June 29th 05 07:45 PM


All times are GMT +1. The time now is 12:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"