LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
TBD TBD is offline
external usenet poster
 
Posts: 41
Default Does VBA support flattening/serializing to "binary" string?

[Excel 2002 says] Jello again!
(please be patient, there is a question below...)
I'm working on a spreadsheet that's formatted to look like a calendar.
There's a month-name across the top of the sheet (spanning multiple cells);
Weekday names under that, and "days" arranged just like squares you see on a
calendar. Days are always a fixed width (two cells) but each day can hold a
different "list" - the number of rows in each day WILL vary (OK, the days are
really rectangles). It's expected the list in each day will contain 4 to 10
rows.

When the user changes the sheet, it initiaites a lot of input
validation and processing which are very dependent on the date, and row/col
within the date being edited. It seems impractably messy to figure out the
date/row/col from absolute coordinates given that, calendar top/left is
variable, rows/cols between cells is variable, day height (row-count) is
variable, (as user adds rows, can grow, pushing down remaining weeks.) I'm
not saying it's impossible, just impractical.

If not, I could write date/row/col data on a "shadow" sheet. It would
be great if a date/row/col typedef could be cast to/from a string stored in
shadow-sheet:
Q. Is there a way, with VBA, to cast arbitrary data-structures to/from
strings?
Correlary question: Can cells reliably store "binary" strings?

Any help, ideas, constructive criticism is appreciated,
Cheers!


 
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
=SUBSTITUTE(C4,"~?#","") will this work to remove multiple string Raja Mahendiran S Excel Worksheet Functions 6 May 12th 10 09:10 PM
Userform problem with "obj doesn't support this property or method"error message. Chet Excel Programming 0 August 12th 09 05:26 PM
combining or "flattening" rows HWhite Excel Worksheet Functions 6 July 3rd 09 06:40 PM
Converting "uppercase" string data to "lower case" in CSV file [email protected] Excel Discussion (Misc queries) 2 August 12th 08 08:36 PM
text string: "91E10" in csv file auto converts to: "9.10E+11" [email protected] Excel Discussion (Misc queries) 2 August 12th 08 03:13 PM


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