#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Choose next record

Hi,

I have a data set that is updated via a data form. I can enter the data on
the form, and a macro updates the data set (on another sheet). I can then
select the next record via a drop down box, and a macro button retreives the
data when pressed.

My Problem: I want to add a button that allows me to move to the next row
(either up or down) without going through the drop down box. I envisage
having it attached to a 'spin button' if possible.

Can you advise how this can be done to first get a macro (?) to select the
next row, and secondly how to attach it to a button.

Cheers
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Choose next record

Maybe you could drop your userform and use Data|Form. It might be sufficient.

Or if you want sample code, take a look at John Walkenbach's enhanced data form:
http://j-walk.com/ss/dataform/index.htm

And the source code is available for a small fee ($20 USA, IIRC).

Aussie wrote:

Hi,

I have a data set that is updated via a data form. I can enter the data on
the form, and a macro updates the data set (on another sheet). I can then
select the next record via a drop down box, and a macro button retreives the
data when pressed.

My Problem: I want to add a button that allows me to move to the next row
(either up or down) without going through the drop down box. I envisage
having it attached to a 'spin button' if possible.

Can you advise how this can be done to first get a macro (?) to select the
next row, and secondly how to attach it to a button.

Cheers


--

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
UNABLE TO RECORD A MACRO I.C.E. Excel Worksheet Functions 1 September 13th 06 01:24 PM
Record data on two lines Dan Excel Discussion (Misc queries) 2 November 14th 05 02:08 PM
Record information is on two lines Dan Excel Discussion (Misc queries) 1 November 12th 05 03:31 PM
Can't go to 'Last Record' in one step in a Word doc. linked To Exc Earl Excel Discussion (Misc queries) 0 September 26th 05 05:57 PM
Referencing a newly created worksheet Charyn Excel Worksheet Functions 2 May 2nd 05 04:13 AM


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