Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Activating a renamed workbook

My colleagues and I exchange workbooks with order/invoice records that are
installed (copied) in to each local database. We send them via email and its
very convenient to just open the excel-file from Outlook and install the
records. But there is an obstacle: If we put the installation macro in the
routing workbook, we get the trouble with security when running procedures
without digital certificates.
We have now tried to move the procedure to the main, local spreadsheet but
we then face another problem. When opening workbooks with the same name
several times from Outlook, every workbook gets a serial number within
parenthesis added to the name as all of them belongs to the same temporary
directory in C:\documents and settings\....OLKE. When running the procedure
from the main workbook, the program does not know which other workbook to
activate as the name changes every time. Can anyone find a solution to
activate the (only) workbook starting with the name TradeRoute, skipping the
end of the name _(12) or _(13), etc.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Activating a renamed workbook

You should always save any workbooks that you receive is a permenant
directory. The OLKE directory is a temporary directory and you WILL loose
any changes you make to these files if you don't save them else where. The
simple method is to open the e-mail and then save attachments. The save
attachments will go into you My Document Directory unless you specify another
directory.

"Mats Samson" wrote:

My colleagues and I exchange workbooks with order/invoice records that are
installed (copied) in to each local database. We send them via email and its
very convenient to just open the excel-file from Outlook and install the
records. But there is an obstacle: If we put the installation macro in the
routing workbook, we get the trouble with security when running procedures
without digital certificates.
We have now tried to move the procedure to the main, local spreadsheet but
we then face another problem. When opening workbooks with the same name
several times from Outlook, every workbook gets a serial number within
parenthesis added to the name as all of them belongs to the same temporary
directory in C:\documents and settings\....OLKE. When running the procedure
from the main workbook, the program does not know which other workbook to
activate as the name changes every time. Can anyone find a solution to
activate the (only) workbook starting with the name TradeRoute, skipping the
end of the name _(12) or _(13), etc.

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
Activating a renamed workbook Mats Samson Excel Programming 2 February 13th 09 11:17 AM
Activate a renamed workbook Mats Samson Excel Programming 0 February 13th 09 09:50 AM
activating a workbook Almagg via OfficeKB.com Excel Programming 3 April 16th 07 08:41 PM
having renamed a workbook my password does not work Lyndsayd Excel Discussion (Misc queries) 1 August 26th 05 02:20 PM
Require Workbook to be renamed in order to Save It Steve Klenner Excel Programming 1 July 13th 05 08:45 AM


All times are GMT +1. The time now is 07:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"