Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to simulate "DataForm" in VBA


Hi,

Can some please let me know a sample code for simulating the "Form"
found under "Data" in Excel 2003?

Thanks,
Baapi


--
Baapi
------------------------------------------------------------------------
Baapi's Profile: http://www.excelforum.com/member.php...o&userid=27333
View this thread: http://www.excelforum.com/showthread...hreadid=556811

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default How to simulate "DataForm" in VBA

From the macro recorder

Range("A1:H1").Select
ActiveSheet.ShowDataForm


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Baapi" wrote in message
...

Hi,

Can some please let me know a sample code for simulating the "Form"
found under "Data" in Excel 2003?

Thanks,
Baapi


--
Baapi
------------------------------------------------------------------------
Baapi's Profile:

http://www.excelforum.com/member.php...o&userid=27333
View this thread: http://www.excelforum.com/showthread...hreadid=556811



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to simulate "DataForm" in VBA


I've already designed a form and a lot of data input happenns through
it. My requirement in particular is the vertical scrollbar that we see
in the standard form. I have two buttons in my form named "Next" and
"Previous". But, I'm not able to provide a scroll option to the users
in my project.

Can you help me on that?

Thanks,
Girish


--
Baapi
------------------------------------------------------------------------
Baapi's Profile: http://www.excelforum.com/member.php...o&userid=27333
View this thread: http://www.excelforum.com/showthread...hreadid=556811

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default How to simulate "DataForm" in VBA

I've use that but the scroll_click just fires the same routines as your Next
and previous.
You just need to set the scroll bar max to the number of records and keep it
in sync with the next/previous clicks.

NickHK

"Baapi" wrote in
message ...

I've already designed a form and a lot of data input happenns through
it. My requirement in particular is the vertical scrollbar that we see
in the standard form. I have two buttons in my form named "Next" and
"Previous". But, I'm not able to provide a scroll option to the users
in my project.

Can you help me on that?

Thanks,
Girish


--
Baapi
------------------------------------------------------------------------
Baapi's Profile:

http://www.excelforum.com/member.php...o&userid=27333
View this thread: http://www.excelforum.com/showthread...hreadid=556811



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default How to simulate "DataForm" in VBA

That should read "I've never used that form....."

NickHK

"NickHK" wrote in message
...
I've use that but the scroll_click just fires the same routines as your

Next
and previous.
You just need to set the scroll bar max to the number of records and keep

it
in sync with the next/previous clicks.

NickHK

"Baapi" wrote in
message ...

I've already designed a form and a lot of data input happenns through
it. My requirement in particular is the vertical scrollbar that we see
in the standard form. I have two buttons in my form named "Next" and
"Previous". But, I'm not able to provide a scroll option to the users
in my project.

Can you help me on that?

Thanks,
Girish


--
Baapi
------------------------------------------------------------------------
Baapi's Profile:

http://www.excelforum.com/member.php...o&userid=27333
View this thread:

http://www.excelforum.com/showthread...hreadid=556811







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to simulate "DataForm" in VBA


What about the rectangular shape that we see in between the
Scroll_Click? How do I program that?


--
Baapi


------------------------------------------------------------------------
Baapi's Profile: http://www.excelforum.com/member.php...o&userid=27333
View this thread: http://www.excelforum.com/showthread...hreadid=556811

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default How to simulate "DataForm" in VBA

Private Sub ScrollBar1_Change() ?

NickHK

"Baapi" wrote in
message ...

What about the rectangular shape that we see in between the
Scroll_Click? How do I program that?


--
Baapi


------------------------------------------------------------------------
Baapi's Profile:

http://www.excelforum.com/member.php...o&userid=27333
View this thread: http://www.excelforum.com/showthread...hreadid=556811



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
Drop-down list on simple excel 2003 form using "form" from data me S Beals Excel Discussion (Misc queries) 0 March 2nd 10 08:35 PM
Using "Data - Group" Function in Excel Form w/o Messing Up Checkbo JOBrien77 Excel Discussion (Misc queries) 0 June 26th 09 09:32 PM
any formula to convert numbers in word form, e.g. "2" as "Two"? Neeraj Excel Worksheet Functions 1 May 26th 08 01:03 PM
function to return day in the form "Monday", "Tuesday" etc given . MTro Excel Worksheet Functions 2 October 3rd 07 09:49 AM
Adding "New" "Insert" "Delete" into a workbook to change from data 1 to data 2 etc Bob Reynolds[_2_] Excel Programming 0 March 4th 04 08:52 PM


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