Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Using command buttons to enter data

Hi,
I notice on the tool bar in Excel there are options to put command buttons
etc into an excel spreadsheet. I have done this, however would appreciate
any info on how to program the command buttons. I notice that this has to be
done through visual basic which is fine, but the code required is obviousley
very different to that used in microsoft Access(?) Microsoft access has the
option of using a wizard to creat the commands, but this doesnt seem to be
the case for excel(?)
Can command buttons actually be used to input data into cells when clicked?

Any suggestions or examples of code required would be a great help.

Many thanks

Nick
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default Using command buttons to enter data

This can be done, yes. Store the code in an XLA file that the buttons
reference. The actual code will depend on exactly what information you
want to place in exactly which cell(s).

The code is similar to VBA Access because it is VBA and shares a
certain common set of reserved words; VBA Access differs from VBA Excel
to the extent that commands used on a database will not be used on a
spreadsheet or Word document, for instance.

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
Auto enter date when data in enter in another cell Brian Excel Worksheet Functions 5 December 7th 06 06:44 PM
Otto M. - Data Matching Gilly Excel Worksheet Functions 0 May 12th 06 06:29 PM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


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