Rabu, 07 September 2016

Re: [MS_AccessPros] Converting code written in Excel 2003 to Excel 2007

 

Well, this is a forum for Access, but perhaps I can help.


Click the Developer tab, then Editor.  Double-click This Workbook, and that should put you in the VBA editor on (General) (Declarations).  Declare all your constants there - they should automatically be available to all other code in the project.

Good luck!

John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals 
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
(Paris, France)




On Sep 7, 2016, at 11:13 AM, greenn1949@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:



I wrote a big Macro Written in Excel 2003 and want to move it to Excel 2007 and it does not work at all.  


I think I need to set up a  module but don't know if its a class module or a regular module.  I need to create a space to store about 300 constants and be able to reference them in about 8-10 Subroutines. 


I think logically, they should be stored as public but I'm lost after that.   


Also, I think I want to use a dialog box (form) instead of multiple input boxes

(and message boxes which I was using).  I use access - so I know how to create forms - but again


- Where do I enter the code?  





__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar