Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

setting where cursor is

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Native - 25 Jan 2006 21:40 GMT
hello: what code would I need to add in my macro that records where the
cursor is (eg-cell A14) when the macro button is pushed and then return
to that spot (A14 in this example) at the end of the macro.
Norman Jones - 25 Jan 2006 21:45 GMT
Signature

---
Regards,
Norman

> hello: what code would I need to add in my macro that records where the
> cursor is (eg-cell A14) when the macro button is pushed and then return
> to that spot (A14 in this example) at the end of the macro.
Norman Jones - 25 Jan 2006 21:48 GMT
Hi Native

   Dim Rng as Range

   Set Rng = ActiveCell

   'Your code

   Application.GoTo Rng

---
Regards,
Norman

> hello: what code would I need to add in my macro that records where the
> cursor is (eg-cell A14) when the macro button is pushed and then return
> to that spot (A14 in this example) at the end of the macro.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.