+ Reply to Thread
Results 1 to 4 of 4

Vba Function is changing the date in windows

  1. #1
    Registered User
    Join Date
    05-13-2015
    Location
    Netherlands
    MS-Off Ver
    2013
    Posts
    13

    Vba Function is changing the date in windows

    I have a very weird problem. The date in the PC changes when I run a function. I haven't found anything suspicious in the code. Any idea what might be causing this problem?

    Thank

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Vba Function is changing the date in windows

    Without the code, no, very hard to guess. Any chance you can share the code that makes this happen?
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Registered User
    Join Date
    05-13-2015
    Location
    Netherlands
    MS-Off Ver
    2013
    Posts
    13

    Re: Vba Function is changing the date in windows

    I have found the problem. I was using a variable naming "Date" which was changing the date of the PC.

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Vba Function is changing the date in windows

    Hi Mahmud
    Can you post your function?
    Another point the Date is reserved word in VBA and can't be used as variable
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with changing background default in Windows 8
    By tstrebel in forum Excel General
    Replies: 0
    Last Post: 03-28-2015, 10:23 AM
  2. Changing windows Folder icons usin vba
    By Paul Breen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-20-2014, 08:49 PM
  3. Changing windows Folder icons usin vba
    By sanits591 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-19-2011, 04:23 PM
  4. Changing the Name of the Column in Excel-using Windows XP
    By Santosh Budalakoti in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2005, 10:05 AM
  5. Changing Windows Registry from Excel
    By joaovtt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2005, 01:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1