Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Are macros interchangable between Excel and Access???

Once I write a Macro are they interchangeable between Access and Excel with
minimal Programing effort?

Thanks again In advance!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Are macros interchangable between Excel and Access???

In general, no (though it depends on what you are trying to do). To be
functional within an application the macros need to reference the objects
that are specific to that application. For example, in Access you may want
to set a control on a form to equal the current time/date:
Forms("MyForm").TextBox1.Value = Now()
Whereas in Excel you may need to reference a range on your worksheet:
Worksheets("SheetName").Range("B5").Value = Now()
So some of the code might be the same but you would have to do major editing
to reference your Excel objects instead of Access objects.
--
- K Dales


"Ray via OfficeKB.com" wrote:

Once I write a Macro are they interchangeable between Access and Excel with
minimal Programing effort?

Thanks again In advance!

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
Importing Tables from Access into Excel using Macros or VBA CLamar Excel Discussion (Misc queries) 4 May 23rd 06 09:23 PM
Excel Macros do not work with Outlook Web Access Mike R. Excel Programming 3 March 18th 05 03:44 AM
Using Excel Macros & Outlook Web Access Mike R. Excel Programming 0 March 12th 05 06:01 PM
Running Macros in Access from Excel Simon Dowse Excel Programming 1 June 7th 04 03:48 PM
Running Access MAcros or VB modules in Excel Nick Excel Programming 0 October 28th 03 06:27 AM


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