Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I encode data in Excel to make it anonymous?

I need to change names in Excel to make it anonymous to onlookers, but make
it transferrable back to the original name for those who know the code.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How do I encode data in Excel to make it anonymous?

Keep the real names in an external file with sequentail numbers assigned to
them. The visible file will only have the numbers, but the real names will
be available to anyone who has the external file.
--
Gary''s Student - gsnu200733


"Aiso" wrote:

I need to change names in Excel to make it anonymous to onlookers, but make
it transferrable back to the original name for those who know the code.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I encode data in Excel to make it anonymous?

If you know how to write user defined functions or macros you may use VBA
logical XOR (eXclusive OR) function to encode/decode your text.
e.g.
1 XOR 3 = 2
2 XOR 3 = 1

asc("A") XOR asc("z") = 59=asc(";")
asc(";") XOR asc("z") = 65 =asc("A")

Function DoXOR(XORWhat as string, WithWhat as string) as string

The function then XORs every character from XORWhat with every character
from WithWhat (cyclically).

First Function call encodes text, second run decodes it.
Not quite elegant though.


"Aiso" wrote:

I need to change names in Excel to make it anonymous to onlookers, but make
it transferrable back to the original name for those who know the code.

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
URL Encode Dave Excel Worksheet Functions 0 June 6th 07 04:11 PM
encode in UTF-8 from macro? [email protected] Excel Discussion (Misc queries) 0 February 9th 07 03:07 AM
make calendar from excel data jggirlscout Excel Discussion (Misc queries) 0 July 24th 06 07:46 PM
How do I make a Validation List in Excel, using data on a second Driver Excel Discussion (Misc queries) 2 February 23rd 06 01:30 PM
Is there a way to copy web site data to excel to make it sortable Jetson2k Excel Discussion (Misc queries) 1 August 31st 05 02:14 AM


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