Spreadsheet.MergeTextValues
This function merges the spreadsheet text labels with the text labels of the specified file.
SVB Example
Merging spreadsheets by text values:
Option Base 1 Option Explicit Sub Main Dim spr As Spreadsheet 'opens the spreadsheet adstudy.sta and assigns it to the object spr Set spr = Spreadsheets.Open(Path & "\examples\datasets\adstudy.sta") spr.Visible = True 'merges the text values from the active spreadsheet with the spreadsheet- 'activities.sta 'scmergereplacetext replaces those labels in spreadsheet 1 (adstudy) with 'those from spreadsheet 2 (activities) spr.MergeTextValues(Path & "\Examples\datasets\activities.sta",scMergeReplaceText) End Sub
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.