Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default macro I shared isn't available in any other workbooks?

I copied & pasted a VB macro into another's Visual Basic Editor to streamline
a process but the macro can't be found in any of her other workbooks. I think
it needs to be designated as a personalized macro but that option isn't
offered. How to proceed? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default macro I shared isn't available in any other workbooks?

Where did you paste it? It should go in a standard code module
(insert from the VBA Insert menu), not the ThisWorkbook module or
a sheet code module.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"teh_chucksta" wrote in
message
...
I copied & pasted a VB macro into another's Visual Basic Editor
to streamline
a process but the macro can't be found in any of her other
workbooks. I think
it needs to be designated as a personalized macro but that
option isn't
offered. How to proceed? Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default macro I shared isn't available in any other workbooks?

Just open the workbook that contains the macro. It can then be manually
executed against any other open workbook depending on how you have written it
(your have written it to act on the Activesheet).

Each user has a personal.xls workbook if they have recorded a macro or
otherwise created one. (if you record a macro on her machine and she does
not have one, then it will create it if you designate it as the location for
the recorded macro). The only advantage of this workbook is that it is
marked as hidden and since it is located in the xlstart directory, it is
opened each time Excel is opened (manually).

So, if you open her excel and go to the VBE and find the personal.xls in the
projects, you can paste your macro here as well (to personalize it).

--
Regards,
Tom Ogilvy


"teh_chucksta" wrote:

I copied & pasted a VB macro into another's Visual Basic Editor to streamline
a process but the macro can't be found in any of her other workbooks. I think
it needs to be designated as a personalized macro but that option isn't
offered. How to proceed? Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default macro I shared isn't available in any other workbooks?

Thanks Chip. I appreciate the help. I learned that I need to establish a
personal macro file for the people who will receive me macro, then add a new
module, then copy and paste the vb code into it.

Charlie

"Chip Pearson" wrote:

Where did you paste it? It should go in a standard code module
(insert from the VBA Insert menu), not the ThisWorkbook module or
a sheet code module.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"teh_chucksta" wrote in
message
...
I copied & pasted a VB macro into another's Visual Basic Editor
to streamline
a process but the macro can't be found in any of her other
workbooks. I think
it needs to be designated as a personalized macro but that
option isn't
offered. How to proceed? Thanks.




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default macro I shared isn't available in any other workbooks?

Thanks Tom,

You gave told me exactly what I needed to know. Macro works perfectly on
other users' workbooks.

Charlie

"Tom Ogilvy" wrote:

Just open the workbook that contains the macro. It can then be manually
executed against any other open workbook depending on how you have written it
(your have written it to act on the Activesheet).

Each user has a personal.xls workbook if they have recorded a macro or
otherwise created one. (if you record a macro on her machine and she does
not have one, then it will create it if you designate it as the location for
the recorded macro). The only advantage of this workbook is that it is
marked as hidden and since it is located in the xlstart directory, it is
opened each time Excel is opened (manually).

So, if you open her excel and go to the VBE and find the personal.xls in the
projects, you can paste your macro here as well (to personalize it).

--
Regards,
Tom Ogilvy


"teh_chucksta" wrote:

I copied & pasted a VB macro into another's Visual Basic Editor to streamline
a process but the macro can't be found in any of her other workbooks. I think
it needs to be designated as a personalized macro but that option isn't
offered. How to proceed? Thanks.

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
Shared Workbooks-shared headers and footers Sherry New Users to Excel 1 June 13th 08 03:59 PM
Shared workbooks Chuck W Excel Discussion (Misc queries) 0 July 25th 07 03:56 PM
Shared Workbooks with Macro Brendan Vassallo Excel Discussion (Misc queries) 2 April 28th 06 03:45 AM
suddenly my excel workbooks are "shared workbooks" Maggie's mom Excel Discussion (Misc queries) 1 August 28th 05 09:20 PM
Shared Workbooks dodman[_2_] Excel Programming 0 June 9th 05 01:39 AM


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