
Matthias
Member
Members

Forum Posts: 48
Member Since:
December 13, 2017
December 13, 2017

Hello,
Is there a way to use VBA to define "Sort by Column" in the data model (e.g. month name by month number)?
Thanks,
Matthias

Catalin Bombea
Iasi, Romania
Admin

Forum Posts: 1800
Member Since:
November 8, 2013
November 8, 2013

Hi Matthias,
There's little control of the data model from VBA, mostly because data modelling is not a simple process.
If you go to Object Browser in vba, (F2 shortcut from VB Editor), the Model object is the object you are looking for.
I checked all child objects, but there is no sort method on ModelTable or ModelTableColumn objects:

Answers Post
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 170
Currently Online: mymalone, Ivan Kulubya
Guest(s) 66
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1431
Anders Sehlstedt: 845
Velouria: 574
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 213
A.Maurizio: 202
Aye Mu: 201
Jessica Stewart: 185
Newest Members:
Vicky Otosnika
Abhishek Singh
Kevin Sojourner
Kara Weiss
And Woox
Armani Quenga
moshood bello
annelies b
James1989
lucy gilmour
Forum Stats:
Groups: 3
Forums: 24
Topics: 6045
Posts: 26523
Member Stats:
Guest Posters: 49
Members: 31492
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Riny van Eekelen
© Simple:Press —
