Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 899471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:13:22+00:00 2026-05-15T15:13:22+00:00

Simple question: how can init a Date value with a null value in VBA?

  • 0

Simple question: how can init a Date value with a null value in VBA?

Dim DateStart As Date
DateStart = Null

doesn’t work.

EDIT:

I was just wondering if it’s possible. In the beginning of my code I want to set the value to blank, halfway it will be given a value in most cases, if not, later on I’ll request the value and if still blank I have to take another action to get a value

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:13:22+00:00Added an answer on May 15, 2026 at 3:13 pm

    I do not believe you can do this, try

    If datestart = 0 Then 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 498k
  • Answers 498k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can check using .hasClass(), like this: if($(this).parent('span').hasClass('left')) { Or… May 16, 2026 at 12:26 pm
  • Editorial Team
    Editorial Team added an answer What will foo be doing with that const char*? If… May 16, 2026 at 12:26 pm
  • Editorial Team
    Editorial Team added an answer You can't pass multiple blocks in that way, but you… May 16, 2026 at 12:26 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

We have a simple file browser on our intranet, built using ASP/vbscript. The files
I have a table for orders and it has 2 column with DATE types:
I have an Excel file that has a bunch of VBA and macro code
I am working an a simple Roguelike game, and using SDL as the display.
Though the question is very specific, I'd also really appreciate general advice and other
My goal is pretty simple: to use ant to build an EAR which contains
I was wondering if there was a way to display all text in a
I have a wpf control named DataPicker which has a dependency property named SelectedDate.
We have a data collection system that collects measurements from environmental sensors that measure
I’m trying to make a counter which shows the number of days until we

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.