If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > How to open Excel from Access and format a cell

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-12-09, 22:57
jeffcoach jeffcoach is offline
Registered User
 
Join Date: Jan 2004
Location: Deer Park, Long Island
Posts: 12
How to open Excel from Access and format a cell

How do I simply open Excel from Access using VBA (I would prefer early binding, but anything will do) and just change the color of a cell then save and Exit.
__________________
jeffcoach
Reply With Quote
  #2 (permalink)  
Old 01-15-09, 18:16
sco08y sco08y is offline
Registered User
 
Join Date: Oct 2002
Location: Baghdad, Iraq
Posts: 697
Quote:
Originally Posted by jeffcoach
How do I simply open Excel from Access using VBA (I would prefer early binding, but anything will do) and just change the color of a cell then save and Exit.
Well, you'll have to sift through some code, but this is a prototype I did for exporting data to Excel from Access. Because it was prototype code, I don't think it hides Excel when it launches. You'll have to dig around to find out how to do this, it's just one parameter though.

It doesn't exit, but I'm pretty sure that's just something like Application.Exit or Application.Quit.
Attached Files
File Type: zip accessToExcel.zip (7.0 KB, 286 views)
Reply With Quote
  #3 (permalink)  
Old 01-26-09, 22:44
jeffcoach jeffcoach is offline
Registered User
 
Join Date: Jan 2004
Location: Deer Park, Long Island
Posts: 12
Thank you!
__________________
jeffcoach
Reply With Quote
  #4 (permalink)  
Old 02-05-09, 23:07
fluxerj fluxerj is offline
Registered User
 
Join Date: Feb 2009
Posts: 3
Below are some tips on how to insert date and time in an excel cell for a specific purpose:-

To insert current date, press “CTRL”+ “;” in the chosen cell.

To insert current time, press “CTRL”+ “SHIFT”+ “;”.

To insert current date and time together, press “CTRL”+ “;” “SPACEBAR”+ “CTRL”+”SHIFT”+ “;"
Reply With Quote
  #5 (permalink)  
Old 02-22-09, 04:31
jeffcoach jeffcoach is offline
Registered User
 
Join Date: Jan 2004
Location: Deer Park, Long Island
Posts: 12
Thanks for your reply
__________________
jeffcoach
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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