I know we can get the row values using CellsU but is it possible to get all the data / rows of shapesheet at once and store in an array?
you need get all rows in some section or whole shapesheet's row ?
Quote from: David J ParkercelMaker copies Visio custom properties, user-defined cells and actions to and from Excel.
Microsoft Office Visio shape developers often need to copy custom properties, user-defined cells, actions and connection points from one master to another.
celMaker is a developers tool that allows selected ShapeSheetâ„¢ sections to be documented, verified, enhanced and propagated from one Visio master to another, including the migration of complex formulae. Current version supports Custom Properties, User-defined cells, Actions, Connection Points and SmartTags*.

* Visio 2003 only
Feature
Print ShapeSheet allow collect whole shapesheet's rows to excel
Quote from: David J Parker
Can I Print Out the ShapeSheet Settings?


The output displays the cell name, value, and formula in each section, in an extremely verbose manner. This makes for many rows in the worksheet, and a varying number of columns in each section.
@Surrogate, Ideally I'd like to get all the rows with a Prefix for example all rows that have Prop. or all rows that have ABC. or anything I add as prefix.
BUt I think I can work it out if I manage to get all rows along with sections.
And I need to get this from Code, VB.NET not from Visio GUI.
My advice contain two step
1. Get data from GUI, using existing tools
2. Operate with data with your code
But you prefer more expensive way :)
You didn't answer which sections you need get ?
Sub bazinga()
Dim s% '
Set sh = ActiveWindow.Selection(1)
s = 244 ' select one ID in sections list
' Enum VisSectionIndices
' http://visualsignals.typepad.co.uk/files/visioenumerations.txt
'0 - visSectionFirst
'1 - visSectionObject
'3 - visSectionCharacter
'4 - visSectionParagraph
'5 - visSectionTab
'6 - visSectionScratch
'7 - visSectionConnectionPts
'8 - visSectionTextField
'9 - visSectionControls
'10 - visSectionFirstComponent
'239 - visSectionLastComponent
'240 - visSectionAction
'241 - visSectionLayer
'242 - visSectionUser
'243 - visSectionProp
'244 - visSectionHyperlink
'245 - visSectionReviewer
'246 - visSectionAnnotation
'247 - visSectionSmartTag
'252 - visSectionLast
'255 - visSectionInval
'255 - visSectionNone
For r = 0 To sh.RowCount(s) - 1
For c = 0 To sh.RowsCellCount(s, r)
Debug.Print sh.CellsSRC(s, r, c).Name, sh.CellsSRC(s, r, c).Formula, sh.CellsSRC(s, r, c).Result("")
Next
Debug.Print "---"
Next
End Sub
You may want to check out Paul Herber's Super Utilities. I know it can copy certain sections from one shape and paste into another.
Wapperdude
Browser ID: smf
(is_webkit)
Templates: 1:
Printpage (default).
Sub templates: 4:
init,
print_above,
main,
print_below.
Language files: 1:
index+Modifications.english (default).
Style sheets: 0:
.
Hooks called: 81 (
showintegrate_autoload, cache_get_data, integrate_pre_load, integrate_load_session, integrate_verify_user, cache_get_data, integrate_user_info, integrate_load_board, cache_get_data, integrate_board_info, cache_get_data, integrate_allowed_to_general, integrate_pre_load_theme, cache_get_data, integrate_allowed_to_general, integrate_simple_actions, integrate_allowed_to_general, integrate_load_theme, integrate_pre_log_stats, cache_get_data, integrate_actions, integrate_pre_parsebbc, integrate_bbc_codes, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_pre_parsebbc, integrate_bbc_codes, integrate_autolinker_schemes, integrate_post_parsebbc, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_pre_parsebbc, integrate_bbc_codes, integrate_autolinker_schemes, integrate_post_parsebbc, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_autolinker_schemes, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_menu_buttons, integrate_current_action, integrate_theme_context, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general)
Files included: 25 - 925KB. (
show/home/iw0lkfe3x6cq/public_html/vgforum/index.php, /home/iw0lkfe3x6cq/public_html/vgforum/Settings.php, /home/iw0lkfe3x6cq/public_html/vgforum/cache/db_last_error.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/QueryString.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Auth.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Errors.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Load.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Security.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Compat.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Db-mysql.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/CacheApi.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/CacheApiInterface.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/APIs/FileBased.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Charset.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/Metadata.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/QuickCheck.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Session.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Logging.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Class-BrowserDetect.php, (Current Theme)/languages/index.english.php, (Current Theme)/languages/Modifications.english.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Printpage.php, (Current Theme)/Printpage.template.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/CaseUpper.php)
Memory used: 796KB.
Tokens:
post-login.
Cache hits: 7: 0.00111s for 22,302 bytes (
showget modSettings: 0.00051s - 19983 bytes, get known_languages: 0.00020s - 1277 bytes, get board_parents-0: 0.00010s - 2 bytes, get permissions:-1: 0.00008s - 50 bytes, get theme_settings-1: 0.00011s - 980 bytes, get log_online-update: 0.00009s - 10 bytes, get menu_buttons--1-english: 0.00002s - 0 bytes)
Cache misses: 1: (
showget menu_buttons--1-english)
Queries used: 9.
[Show Queries]