I am a Delphi developer.
My application has a function to import data into Excel.
I want to add a data import function to PlanMaker.
I have successfully implemented this feature but I have not found a way to change the cell color.
For example, the code "Sheet.Range ['A1: C1']. Font.BColorIndex: = 15;" changes the background of the text successfully.
However, the code "Sheet.Range ['A1: C1']. BColorIndex: = 15;" is wrong.
How do I change the color of a cell?
			
			
									
						
										
						How to change Background Color of Cell Range
Re: How to change Background Color of Cell Range
Please try this code 
			
			
									
						
										
						Code: Select all
Sheet.Range("A1:C1").Shading.ForegroundPatternColorIndex = 15
	
			
							Post Reply 
					
		
	
			
	
	
	
			
			2 posts
							• Page 1 of 1
					
	Return to “BasicMaker 2018 for Windows”
			
				Jump to
				
			
		
			
			
	
	- SoftMaker Office NX and 2024
 - ↳ SoftMaker Office NX and 2024 for Windows
 - ↳ SoftMaker Office NX and 2024 for Windows (General)
 - ↳ TextMaker NX and 2024 for Windows
 - ↳ PlanMaker NX and 2024 for Windows
 - ↳ Presentations NX and 2024 for Windows
 - ↳ BasicMaker NX and 2024 for Windows
 - ↳ SoftMaker Office NX and 2024 for Mac
 - ↳ SoftMaker Office NX and 2024 for Mac (General)
 - ↳ TextMaker NX and 2024 for Mac
 - ↳ PlanMaker NX and 2024 for Mac
 - ↳ Presentations NX and 2024 for Mac
 - ↳ SoftMaker Office NX and 2024 for Linux
 - ↳ SoftMaker Office NX and 2024 for Linux (General)
 - ↳ TextMaker NX and 2024 for Linux
 - ↳ PlanMaker NX and 2024 for Linux
 - ↳ Presentations NX and 2024 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 2021
 - ↳ 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
 - 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 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
 
