Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Range name of "\0"? - How can I slide this past Excel?

I have a 123 file (spit out from Lotus Notes- will be written in a wk4
format) that I am getting written in .wk4 format, reading into Excel,
and then writing back out from Excel to 123 (wk4 format) so that Notes
can read it in. The application works fine in the US, but in Europe,
I get in trouble with date formats, since 123 will open the file in
wk4 format, which loses all of the formatting. So a date like
04/24/2007 in Excel will open as 24.04.2007 in German 123, and that
causes all sorts of problems.

I was thinking that if I write an autoexecute macro in 123, I might be
able to fiddle with the format (make it 24-Apr-2007 or something like
that), and see in Notes can digest that. I have written an old style
macro, and can even make it erase itself after it executes ( /
RFD1<<range~/RE<<cell~ ) - but my problem is that when I do a
Range/Name/Define in Excel, I can't name a macro \0. It seems to be
an invalid name.

Does anyone have any ideas on this one? I'll take any other
suggestions people have (changing the Notes app is unfortunately out
of the question).

Thanks a ton,
Brandon

(please don't send mail to the address above - it is deactivated right
now - will read the forum).

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Range name of "\0"? - How can I slide this past Excel?

How about a test when you're trying to manually delete that name...

Tools|Options|general tab|check R1C1 Reference style.

See if you get a prompt stating that you have an invalid name and it has to be
renamed. If you do name it something that's ok (deleteme01). Then delete that
name and go back to A1 reference style.


Mr Big wrote:

I have a 123 file (spit out from Lotus Notes- will be written in a wk4
format) that I am getting written in .wk4 format, reading into Excel,
and then writing back out from Excel to 123 (wk4 format) so that Notes
can read it in. The application works fine in the US, but in Europe,
I get in trouble with date formats, since 123 will open the file in
wk4 format, which loses all of the formatting. So a date like
04/24/2007 in Excel will open as 24.04.2007 in German 123, and that
causes all sorts of problems.

I was thinking that if I write an autoexecute macro in 123, I might be
able to fiddle with the format (make it 24-Apr-2007 or something like
that), and see in Notes can digest that. I have written an old style
macro, and can even make it erase itself after it executes ( /
RFD1<<range~/RE<<cell~ ) - but my problem is that when I do a
Range/Name/Define in Excel, I can't name a macro \0. It seems to be
an invalid name.

Does anyone have any ideas on this one? I'll take any other
suggestions people have (changing the Notes app is unfortunately out
of the question).

Thanks a ton,
Brandon

(please don't send mail to the address above - it is deactivated right
now - will read the forum).


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Range name of "\0"? - How can I slide this past Excel?

"Mr Big" wrote...
I have a 123 file (spit out from Lotus Notes- will be written in a wk4
format) that I am getting written in .wk4 format, reading into Excel,
and then writing back out from Excel to 123 (wk4 format) so that Notes
can read it in. The application works fine in the US, but in Europe,
I get in trouble with date formats, since 123 will open the file in
wk4 format, which loses all of the formatting. So a date like
04/24/2007 in Excel will open as 24.04.2007 in German 123, and that
causes all sorts of problems.


What sort of problems? Isn't is a good thing Germans can see dates in
formats that they're used to? Do you mean that once such a .WK4 file is
opened and saved by someone in Germany, it'll always display dates in
dd.mm.yyyy format?

How is Notes generating the .WK4 file? Is it from a form with an embedded
123 object? Is it from an exported view? Does the .WK4 file contain formulas
or only constants?

I was thinking that if I write an autoexecute macro in 123, I might be
able to fiddle with the format (make it 24-Apr-2007 or something like
that), and see in Notes can digest that. . . .

....

This won't work in all Excel versions, and \0 macros would only be run when
the .WK4 files open, which means it needs to be in the .WK4 files BEFORE
they're opened in Excel. Note: if you save a .WK4 file with a \0 macro from
123, Excel WILL see \0 as a defined name when it opens the file. So are you
trying to add the \0 macro in Notes or in Excel? If in Excel, you'd have
better luck using a VBA macro in an .XLS file to open the .WK4 file and
change its formatting than trying to hack anything with 123 classic macros
in Excel.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Range name of "\0"? - How can I slide this past Excel?

Harlan and Dave,

Thanks for your answers.

Dave, the sequence is that Notes will open the .wk4 file, so I wanted
to have the macro run automatically in that case.

Harlan, I agree - the Germans should see the date as 24.04.2007, which
is fine, but the Germans aren't reading the file when it opens in 123
- Notes is, and Notes is throwing up on the date not having slashes in
it. What I really want to do is write out 04/24/2007 in all cases,
and I can do that fine - have written VBA code to do that - but when
you open the file in 123, it loses all of the formatting. That's my
problem. I tried putting a quote in front of the cell to make it a
text field, and that kept the formatting, but Notes didn't like that
either. I agree that 123 classic may not be the best idea, but I'm
running out of thoughts on this one! I just wish Microsoft allowed
you to write out .123 files - that would make my life a lot easier!

Thanks,
Brandon


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
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM
does excel that a dynamic "slide" feature for IRR calculations Matt Excel Worksheet Functions 0 October 13th 06 05:21 PM
does excel that a dynamic "slide" feature for IRR calculations Matt Excel Worksheet Functions 0 October 13th 06 05:20 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


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