Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro for forms function

Hello, I have a spreadsheet that I want to create a macro
to open the form function (under Data Form). I have not
been able to create a macro to do this. I have received
several different errors. Can someone help show me what
to type in the macro to make it work.

Thanks in advance for all of your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Macro for forms function


-----Original Message-----
Hello, I have a spreadsheet that I want to create a macro
to open the form function (under Data Form). I have not
been able to create a macro to do this. I have received
several different errors. Can someone help show me what
to type in the macro to make it work.

Thanks in advance for all of your help.
.

Try

ActiveSheet.ShowDataForm

Make sure that the cursor is in the data list

Regards
Peter Atherton
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro for forms function

ActiveSheet.ShowDataForm

If your data does not start in the first two rows, you will be more
successful if you name the table "database"

Assume the top left corner of your data is in cell M35

Range("M35").CurrentRegion.Name = "Database"
ActiveSheet.ShowDataForm

--
Regards,
Tom Ogilvy

Shawn wrote in message
...
Hello, I have a spreadsheet that I want to create a macro
to open the form function (under Data Form). I have not
been able to create a macro to do this. I have received
several different errors. Can someone help show me what
to type in the macro to make it work.

Thanks in advance for all of your help.



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
Forms-Scroll Bar function in Excel 2007 DB Excel Worksheet Functions 1 September 19th 08 04:36 AM
Deactivating a Forms macro button based on a worksheet condition? Ace70 Excel Discussion (Misc queries) 3 June 10th 07 10:31 PM
Sub Macro vrs Function Macro Auto Start Pat Excel Discussion (Misc queries) 7 June 6th 07 09:53 PM
Is tabbing function available when using control forms? steve1962 Excel Worksheet Functions 0 May 1st 07 09:03 PM
Forms Buttons for use with macro - recolorable? Ms. Tude New Users to Excel 1 February 20th 06 10:59 PM


All times are GMT +1. The time now is 08:01 AM.

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"