Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default is it possible to store outlook user name in excel file

Hi
I am sending an excel file, which has a protected sheet, thro' outlook
the receiver may have outlook or express
When he opens excel file i want to store the user name in outlook/express
name before " at worksheets("Uniq").range("c3").value

As i am enabling to him a pull down menu with eligible locations data only
(from a protected sheet). the data sheet and Uniq sheet are protected sheets.

thanks



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default is it possible to store outlook user name in excel file

Hi
i am sending mail with attachment to several ppl and i have listed their
name in one my sheets in the attachment sent (excel sheet). based on the name
their status is known like 'manager grade1, 2, 3, finance manager 1, 2, 3,
zonal manager 1,2,3 like that" for everyone some location / region is alloted
and i want the filter automatically and show that location related row items.
so i want to capture their name in "outlook/express" before @ as after @ is
only company name
is it possible ?

"Patrick Molloy" wrote:

the user name ? there may be a misunderstanding here.
the PC's user name will be different to the pst address.

in the worksheet's open event add:

'unprotect the sheet if necessary
worksheets("Uniq").range("c3") = Environ$("Username")
'protect the sheet if necessary

Th ecode you use to send teh sheet presumably has the mail addressee in a
cell somewhere. so if t hats the name you need, then use

sName = worksheets("????").range("???") ' location of address
sName = LEFT(sName,instr(sName,"@")-1)


"Eddy Stan" wrote:

Hi
I am sending an excel file, which has a protected sheet, thro' outlook
the receiver may have outlook or express
When he opens excel file i want to store the user name in outlook/express
name before " at worksheets("Uniq").range("c3").value

As i am enabling to him a pull down menu with eligible locations data only
(from a protected sheet). the data sheet and Uniq sheet are protected sheets.

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
Excel user enter a store # to query Access data base liem Excel Discussion (Misc queries) 0 January 16th 10 03:45 AM
User form - How to store data on press of enter key. NDBC Excel Programming 2 June 29th 09 12:02 PM
How to associate/store user data with excel workbook? J_J[_3_] Excel Programming 0 November 16th 06 07:25 PM
get some user info and store as constant Steve E Excel Programming 4 September 13th 06 07:28 PM
Using classes to store user credentials Philippe Pons Excel Programming 3 August 3rd 05 04:22 PM


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