Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Setting up MS Excel form

I would like to have a form pop-up when a MS Excel file is opened, where I
enter budget items that are used in a spreadsheet behind the scenes. I am
trying to create a retirement planner spreadsheet.
--
Fred Benson
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Setting up MS Excel form

One solution is to use the auto form on the 'Data' menu. Assuming your data
sheet is in a table format and the firstsheet in the book then put the
following marco in the workbook code in the VBA editior. Save it and close
the wookbook and then open the work book.

Private Sub Workbook_Open()
ActiveSheet.ShowDataForm
End Sub

If you want a custom userform then design it and replace

ActiveSheet.ShowDataForm

above with

Userform1.show

if you call the form Userform1.


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"fbenson" wrote:

I would like to have a form pop-up when a MS Excel file is opened, where I
enter budget items that are used in a spreadsheet behind the scenes. I am
trying to create a retirement planner spreadsheet.
--
Fred Benson

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 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
how to generate a unique form # when using an excel form template PJE Excel Worksheet Functions 1 May 24th 06 11:00 PM
Move Word form to Excel M John Excel Discussion (Misc queries) 2 May 24th 06 03:49 PM
Open Form Automatically in Excel File Bejewell New Users to Excel 1 November 16th 05 06:18 PM
Excel Sheet default setting. vishu Excel Discussion (Misc queries) 2 September 29th 05 04:36 PM


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