Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Control Panel

Hi

Does anyone know how to make changes in the control panel
of a PC in an Excel subroutine.

I have a workbook that will only work if the date seperator
in control panel is set to a "." and would like to change
it as part of an error handler.

Anyone help? is it possible?

Cheers
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Control Panel

I think it can be done via API calls, though I'm not sure which
ones off the top of my head. However, I would STRONGLY recommend
that you NOT do it this way. Doing so would affect all
applications, not just Excel, and may cause (irreversible)
problems with the other applications. The best way would be to
write the code in such as way that it would work with a period as
a date separator (probably something as simple as Replace and
DateValue).


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Matt" wrote in message
...
Hi

Does anyone know how to make changes in the control panel
of a PC in an Excel subroutine.

I have a workbook that will only work if the date seperator
in control panel is set to a "." and would like to change
it as part of an error handler.

Anyone help? is it possible?

Cheers



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking dats on a worksheet to control panel sbearman Charts and Charting in Excel 0 June 25th 08 01:35 PM
Excel 2007 using control panel display settings Mark Excel Discussion (Misc queries) 0 June 12th 07 08:36 PM
WEB panel on right side of sheet. Nimit Mehta Excel Worksheet Functions 0 November 22nd 06 09:49 AM
How do I hide the Help Panel? Wes K. Excel Discussion (Misc queries) 2 May 16th 06 04:16 PM
date format in excel not in line with control panel regional setti GrahamR Excel Discussion (Misc queries) 3 August 2nd 05 06:48 PM


All times are GMT +1. The time now is 05:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"