#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default INDATA and OUTDATA

HI, NEED A LITTLE/MUCH HELP

Have excel sheet that I want to put data into, but true dialog boxes..

excample of data
A1 B1 C1 D1
art.number Art.name Location How many
100001 Erasers B-0613 200
100001 Pencils A-1302 2000

How do i make a dialog box to put in the data, AND a dialog box for erasing
the data, when I use the same dialog box to take articles out

Buttons when I start the sheet can be

INPUT DATA

and when I want them removed

OUTPUT DATA



--
Just a regular user, with function skills, nor programming what so ever, but
good with IF...COUNTIF and other functions, and tried some macroes... BE
gentle, hehe

Rock
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default INDATA and OUTDATA

Simple way, menus :

Data -- form

other way(s) will require coding

"Rockbear" wrote:

HI, NEED A LITTLE/MUCH HELP

Have excel sheet that I want to put data into, but true dialog boxes..

excample of data
A1 B1 C1 D1
art.number Art.name Location How many
100001 Erasers B-0613 200
100001 Pencils A-1302 2000

How do i make a dialog box to put in the data, AND a dialog box for erasing
the data, when I use the same dialog box to take articles out

Buttons when I start the sheet can be

INPUT DATA

and when I want them removed

OUTPUT DATA



--
Just a regular user, with function skills, nor programming what so ever, but
good with IF...COUNTIF and other functions, and tried some macroes... BE
gentle, hehe

Rock

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default INDATA and OUTDATA

Well THAT i know, that coding are nessasary, but would be helpfull to know
some code. :)
--
Just a regular user


"nathan_savidge" wrote:

Simple way, menus :

Data -- form

other way(s) will require coding

"Rockbear" wrote:

HI, NEED A LITTLE/MUCH HELP

Have excel sheet that I want to put data into, but true dialog boxes..

excample of data
A1 B1 C1 D1
art.number Art.name Location How many
100001 Erasers B-0613 200
100001 Pencils A-1302 2000

How do i make a dialog box to put in the data, AND a dialog box for erasing
the data, when I use the same dialog box to take articles out

Buttons when I start the sheet can be

INPUT DATA

and when I want them removed

OUTPUT DATA



--
Just a regular user, with function skills, nor programming what so ever, but
good with IF...COUNTIF and other functions, and tried some macroes... BE
gentle, hehe

Rock

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default INDATA and OUTDATA

What nathan meant was, you don't need code if you use the built-in DataForm to
create and delete entries.

If DataForm is not sufficient, then you would need code.

"Put them in" and "take them out" is too generic to help with tailoring code.


Gord Dibben MS Excel MVP

On Tue, 15 Apr 2008 02:26:01 -0700, Rockbear
wrote:

Well THAT i know, that coding are nessasary, but would be helpfull to know
some code. :)


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default INDATA and OUTDATA

Ok :) have looked at it and have to agree thet it has all I need. Is there
some way to make it start when I open the sheet ?

A million thanks for the help guys
--
Just a regular user


"Gord Dibben" wrote:

What nathan meant was, you don't need code if you use the built-in DataForm to
create and delete entries.

If DataForm is not sufficient, then you would need code.

"Put them in" and "take them out" is too generic to help with tailoring code.


Gord Dibben MS Excel MVP

On Tue, 15 Apr 2008 02:26:01 -0700, Rockbear
wrote:

Well THAT i know, that coding are nessasary, but would be helpfull to know
some code. :)





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default INDATA and OUTDATA

Assuming that "open the sheet" means activate that particular worksheet in the
workbook.

Right-click on the sheet tab and "View Code". Copy/paste the code below into
that sheet module.

Private Sub Worksheet_Activate()
ActiveSheet.ShowDataForm
End Sub

Alt + q to return to the Excel window.

An alternate would be this code in the Thisworkbook Module.

Right-click on the Excel Icon left of "File" on the Menu and "View Code".
Copy/paste the code below into that module.

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
ActiveSheet.ShowDataForm
End Sub

Runs when the workbook is opened.


Gord Dibben MS Excel MVP

On Tue, 15 Apr 2008 09:15:01 -0700, Rockbear
wrote:

Ok :) have looked at it and have to agree thet it has all I need. Is there
some way to make it start when I open the sheet ?

A million thanks for the help guys


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default INDATA and OUTDATA

Hi :)
I tried bioth versions, no one worked
--
Just a regular user


"Gord Dibben" wrote:

Assuming that "open the sheet" means activate that particular worksheet in the
workbook.

Right-click on the sheet tab and "View Code". Copy/paste the code below into
that sheet module.

Private Sub Worksheet_Activate()
ActiveSheet.ShowDataForm
End Sub

Alt + q to return to the Excel window.

An alternate would be this code in the Thisworkbook Module.

Right-click on the Excel Icon left of "File" on the Menu and "View Code".
Copy/paste the code below into that module.

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
ActiveSheet.ShowDataForm
End Sub

Runs when the workbook is opened.


Gord Dibben MS Excel MVP

On Tue, 15 Apr 2008 09:15:01 -0700, Rockbear
wrote:

Ok :) have looked at it and have to agree thet it has all I need. Is there
some way to make it start when I open the sheet ?

A million thanks for the help guys



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default INDATA and OUTDATA

Did you enable macros when you opened the workbook?

Did you put the code in the correct location?

What happened when you tried it?

Rockbear wrote:

Hi :)
I tried bioth versions, no one worked
--
Just a regular user

"Gord Dibben" wrote:

Assuming that "open the sheet" means activate that particular worksheet in the
workbook.

Right-click on the sheet tab and "View Code". Copy/paste the code below into
that sheet module.

Private Sub Worksheet_Activate()
ActiveSheet.ShowDataForm
End Sub

Alt + q to return to the Excel window.

An alternate would be this code in the Thisworkbook Module.

Right-click on the Excel Icon left of "File" on the Menu and "View Code".
Copy/paste the code below into that module.

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
ActiveSheet.ShowDataForm
End Sub

Runs when the workbook is opened.


Gord Dibben MS Excel MVP

On Tue, 15 Apr 2008 09:15:01 -0700, Rockbear
wrote:

Ok :) have looked at it and have to agree thet it has all I need. Is there
some way to make it start when I open the sheet ?

A million thanks for the help guys




--

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



All times are GMT +1. The time now is 04:00 AM.

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"