Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2013, 04:45 AM
tinfanide tinfanide is offline MSAccess Color? Windows 7 64bit MSAccess Color? Office 2010 32bit
Expert
MSAccess Color?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default MSAccess Color?

Code:
ActiveDocument.Background.Fill.ForeColor
' return
' 16777215
' it means white
If I want to use the background colour as the font colour, how?


Code:
Selection.Font.ColorIndex = ActiveDocument.Background.Fill.ForeColor
' return error
Thank you.
Reply With Quote
  #2  
Old 03-04-2013, 04:53 AM
macropod's Avatar
macropod macropod is offline MSAccess Color? Windows 7 64bit MSAccess Color? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Delete 'Index'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
MSAccess Color? Fill Color curtis.walker@sgmc.org Excel 4 03-15-2013 12:30 PM
color in motion rak123 PowerPoint 0 11-30-2012 12:10 AM
MSAccess Color? Can't get the same color lostsoul62 Excel 2 06-14-2012 08:32 PM
Send a email confirmation to MSAccess 2010 drnorbert Outlook 0 06-17-2011 04:33 AM
need help with font color samsongee Word 0 09-07-2006 10:18 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft