I want to add 3 lookups Named "Styles" , "Patterns" and "Widths" on two other sheets in my workbook. I'm not sure how to do this in Planmaker and it's not in the manual. Can this be done? I commented out the 13-15 lines below. I run it as a VBScript to create the file.
-Mike
'Create Planmaker.vbs
'----------------------------------------------------------------------------------
Dim pm
Set pm = CreateObject("PlanMaker.Application")
pm.Application.Visible = True
pm.Application.Activate 'Make the Application the active one.
pm.Workbooks.Add ' Add a document to the collection of open documents
pm.Activeworkbook.Sheets(1).Name ="Retired"
pm.Activeworkbook.Sheets.Add("Styles")
pm.Activeworkbook.Sheets.Add("Patterns")
pm.Activeworkbook.Sheets(1).Name = "Retired"
pm.ActiveSheet.Rows(10).Font.Name = "Courier New"
'Define Names for lookup tables.
'pm.ActiveWorkbook.Name.Add "patterns", "=Patterns!$A$1:$b$150"
'pm.ActiveWorkbook.Name.Add "Styles", "=Styles!$A$1:$H$100"
'pm.ActiveWorkbook.Name.Add "Widths", "=Styles!$B$2:$B$101"
pm.Activeworkbook.Sheets(3).Name = "Patterns"
pm.Cells(1,1).Value = "121"
pm.Cells(1,2).Value = "Christmas Cheer"
pm.Cells(2,1).Value = "131"
pm.Cells(2,2).Value = "Spooky"
pm.Activeworkbook.Sheets(2).Name = "Styles"
pm.Cells(1,1).Value = "35"
pm.Cells(1,2).Value = "1/2"
pm.Cells(1,3).Value = "10-16 belts"
pm.Cells(1,4).Value = "QTY_2"
pm.Cells(1,5).Value = "Paxar636"
pm.Cells(1,6).Value = "Monarch Tag"
pm.Cells(1,7).Value = "1"
pm.ActiveWorkbook.SaveAs "CreatePlanmaker.xlsx", 0,2
'----------------------------------------------------------------
Define named lookups
-
ZilliQuister
- Posts: 1
- Joined: Mon Mar 25, 2019 6:18 pm
Re: Define named lookups
I've referred your question to the developers.
Sven Leßmann
SoftMaker Software GmbH
SoftMaker Software GmbH
Re: Define named lookups
According to our developers:
pm.ActiveWorkbook.Sheets("Patterns").Range("A1:B150").Name = "patterns"
pm.ActiveWorkbook.Sheets("Patterns").Range("A1:B150").Name = "patterns"
Sven Leßmann
SoftMaker Software GmbH
SoftMaker Software GmbH
Post Reply
3 posts
• Page 1 of 1
Return to “BasicMaker 2018 for Windows”
Jump to
- BETA: SoftMaker Office NX and 2026
- ↳ Beta announcements
- ↳ BETA: SoftMaker Office NX and 2026 for Windows
- ↳ BETA: TextMaker NX and 2026 for Windows
- ↳ BETA: PlanMaker NX and 2026 for Windows
- ↳ BETA: Presentations NX and 2026 for Windows
- ↳ BETA: SoftMaker Office NX and 2026 for Mac
- ↳ BETA: TextMaker NX and 2026 for Mac
- ↳ BETA: PlanMaker NX and 2026 for Mac
- ↳ BETA: Presentations NX and 2026 for Mac
- ↳ BETA: SoftMaker Office NX and 2026 for Linux
- ↳ BETA: TextMaker NX and 2026 for Linux
- ↳ BETA: PlanMaker NX and 2026 for Linux
- ↳ BETA: Presentations NX and 2026 for Linux
- SoftMaker Office NX
- ↳ SoftMaker Office NX for Windows
- ↳ SoftMaker Office NX for Windows (General)
- ↳ TextMaker NX for Windows
- ↳ PlanMaker NX for Windows
- ↳ Presentations NX for Windows
- ↳ BasicMaker NX for Windows
- ↳ SoftMaker Office NX for Mac
- ↳ SoftMaker Office NX for Mac (General)
- ↳ TextMaker NX for Mac
- ↳ PlanMaker NX for Mac
- ↳ Presentations NX for Mac
- ↳ SoftMaker Office NX for Linux
- ↳ SoftMaker Office NX for Linux (General)
- ↳ TextMaker NX for Linux
- ↳ PlanMaker NX for Linux
- ↳ Presentations NX for Linux
- ↳ SoftMaker Office NX for iOS
- ↳ SoftMaker Office NX for iOS (General)
- ↳ TextMaker NX for iOS
- ↳ PlanMaker NX for iOS
- ↳ Presentations NX for iOS
- ↳ SoftMaker Office NX for Android
- ↳ SoftMaker Office NX for Android (General)
- ↳ TextMaker NX for Android
- ↳ PlanMaker NX for Android
- ↳ Presentations NX for Android
- SoftMaker Office 2024
- ↳ SoftMaker Office 2024 for Windows
- ↳ SoftMaker Office 2024 for Windows (General)
- ↳ TextMaker 2024 for Windows
- ↳ PlanMaker 2024 for Windows
- ↳ Presentations 2024 for Windows
- ↳ BasicMaker 2024 for Windows
- ↳ SoftMaker Office 2024 for Mac
- ↳ SoftMaker Office 2024 for Mac (General)
- ↳ TextMaker 2024 for Mac
- ↳ PlanMaker 2024 for Mac
- ↳ Presentations 2024 for Mac
- ↳ SoftMaker Office 2024 for Linux
- ↳ SoftMaker Office 2024 for Linux (General)
- ↳ TextMaker 2024 for Linux
- ↳ PlanMaker 2024 for Linux
- ↳ Presentations 2024 for Linux
- FreeOffice 2024
- ↳ FreeOffice 2024 for Windows
- ↳ FreeOffice 2024 for Windows (General)
- ↳ FreeOffice TextMaker 2024 for Windows
- ↳ FreeOffice PlanMaker 2024 for Windows
- ↳ FreeOffice Presentations 2024 for Windows
- ↳ FreeOffice 2024 for Mac
- ↳ FreeOffice 2024 for Mac (General)
- ↳ FreeOffice TextMaker 2024 for Mac
- ↳ FreeOffice PlanMaker 2024 for Mac
- ↳ FreeOffice Presentations 2024 for Mac
- ↳ FreeOffice 2024 for Linux
- ↳ FreeOffice 2024 for Linux (General)
- ↳ FreeOffice TextMaker 2024 for Linux
- ↳ FreeOffice PlanMaker 2024 for Linux
- ↳ FreeOffice Presentations 2024 for Linux
- ↳ FlexiPDF NX and 2025 for Windows
- ↳ FreePDF 2025 for Windows
- Miscellaneous
- ↳ SoftMaker Fonts
- ↳ Water Cooler
- ↳ SoftMaker Office 2018 for Windows (General)
- ↳ TextMaker 2018 for Windows
- ↳ PlanMaker 2018 for Windows
- ↳ Presentations 2018 for Windows
- ↳ Thunderbird for Windows
- ↳ BasicMaker 2018 for Windows
- ↳ SoftMaker Office 2018 for Mac (General)
- ↳ TextMaker 2018 for Mac
- ↳ PlanMaker 2018 for Mac
- ↳ Presentations 2018 for Mac
- ↳ SoftMaker Office 2018 for Linux (General)
- ↳ TextMaker 2018 for Linux
- ↳ PlanMaker 2018 for Linux
- ↳ Presentations 2018 for Linux
- ↳ SoftMaker Office 2021 for Windows
- ↳ SoftMaker Office 2021 for Windows (General)
- ↳ TextMaker 2021 for Windows
- ↳ PlanMaker 2021 for Windows
- ↳ Presentations 2021 for Windows
- ↳ BasicMaker 2021 for Windows
- ↳ SoftMaker Office 2021 for Mac
- ↳ SoftMaker Office 2021 for Mac (General)
- ↳ TextMaker 2021 for Mac
- ↳ PlanMaker 2021 for Mac
- ↳ Presentations 2021 for Mac
- ↳ SoftMaker Office 2021 for Linux
- ↳ SoftMaker Office 2021 for Linux (General)
- ↳ TextMaker 2021 for Linux
- ↳ PlanMaker 2021 for Linux
- ↳ Presentations 2021 for Linux
- ↳ SoftMaker Office 2021 for Android
- ↳ SoftMaker Office 2021 for Android (General)
- ↳ TextMaker 2021 for Android
- ↳ PlanMaker 2021 for Android
- ↳ Presentations 2021 for Android
- ↳ SoftMaker Office 2021 for iOS
- ↳ General
- ↳ TextMaker 2021 for iOS
- ↳ PlanMaker 2021 for iOS
- ↳ Presentations 2021 for iOS
- ↳ FreeOffice 2021
- ↳ FreeOffice 2021 for Windows
- ↳ FreeOffice 2021 for Windows (General)
- ↳ FreeOffice TextMaker 2021 for Windows
- ↳ FreeOffice PlanMaker 2021 for Windows
- ↳ FreeOffice Presentations 2021 for Windows
- ↳ FreeOffice 2021 for Mac
- ↳ FreeOffice 2021 for Mac (General)
- ↳ FreeOffice TextMaker 2021 for Mac
- ↳ FreeOffice PlanMaker 2021 for Mac
- ↳ FreeOffice Presentations 2021 for Mac
- ↳ FreeOffice 2021 for Linux
- ↳ FreeOffice 2021 for Linux (General)
- ↳ FreeOffice TextMaker 2021 for Linux
- ↳ FreeOffice PlanMaker 2021 for Linux
- ↳ FreeOffice Presentations 2021 for Linux
- ↳ BETA SoftMaker Office 2024 for Windows
- ↳ BETA SoftMaker Office 2024 for Windows (general)
- ↳ BETA TextMaker 2024 for Windows
- ↳ BETA PlanMaker 2024 for Windows
- ↳ BETA Presentations 2024 for Windows
- ↳ BETA BasicMaker 2024 for Windows
- ↳ BETA SoftMaker Office 2024 for Mac
- ↳ BETA SoftMaker Office 2024 for Mac (general)
- ↳ BETA TextMaker 2024 for Mac
- ↳ BETA PlanMaker 2024 for Mac
- ↳ BETA Presentations 2024 for Mac
- ↳ BETA SoftMaker Office 2024 for Linux
- ↳ BETA SoftMaker Office 2024 for Linux (general)
- ↳ BETA TextMaker 2024 for Linux
- ↳ BETA PlanMaker 2024 for Linux
- ↳ BETA Presentations 2024 for Linux
- ↳ BETA SoftMaker Office NX for Android
- ↳ BETA SoftMaker Office NX for Android (general)
- ↳ BETA TextMaker NX for Android
- ↳ BETA PlanMaker NX for Android
- ↳ BETA Presentations NX for Android
- ↳ BETA SoftMaker Office NX for iOS
- ↳ BETA SoftMaker Office NX for iOS (general)
- ↳ BETA TextMaker NX for iOS
- ↳ BETA PlanMaker NX for iOS
- ↳ BETA Presentations NX for iOS
- ↳ FreePDF 2022
- ↳ FlexiPDF 2022
