Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-05-2015, 02:45 AM
Officer_Bierschnitt Officer_Bierschnitt is offline How to refer to a variable with BLANKs Windows 7 64bit How to refer to a variable with BLANKs Office 2013
Advanced Beginner
How to refer to a variable with BLANKs
 
Join Date: Oct 2015
Posts: 87
Officer_Bierschnitt is on a distinguished road
Default

Well,



the sheet does exist at the time I run my macro - it is prepared every day before 8 o' clock.
The output of the DATE function is formatted like that, at least it is when I output it in a MsgBox.
You're right, I don't need to activate the sheet, just like I don't need to SELECT cells all the time just to put some values into them. It just makes the code a lot easier to read (for not-savvy others), which is one of my primary development standards.

So, what can I do, or how could I make sure the date is formatted like I need it?

Thanks a lot!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to refer to a variable with BLANKs Counting Blanks in 1 Column and Non-Blanks in Another dogwood705 Excel 4 02-07-2015 08:45 AM
Run Time Error '91': Object variable or With block variable not set using Catalogue Mailmerge Berryblue Mail Merge 1 11-13-2014 05:36 PM
How to refer to a variable with BLANKs Run-time error 91 object variable or with block variable not set JUST ME Word VBA 4 03-25-2014 06:56 AM
How to refer to a variable with BLANKs object variable or with block variable not set MJP143 Excel 1 02-11-2013 05:07 AM
How to refer to a variable with BLANKs Run-time error '91': Object variable or With block variable not set tinfanide Excel Programming 2 06-10-2012 10:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:56 AM.


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