Solved

Define Excel Range from Access VBA

Posted on 2012-03-27
3
298 Views
Last Modified: 2012-03-28
Hello Experts,

How can I define an Excel range from Access module, also  using Cells(introw, inCol)?
0
Comment
Question by:APD_Toronto
  • 2
3 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 37774777
what exactly do you mean?
0
 

Author Comment

by:APD_Toronto
ID: 37774814
Well. I need to change the enterior color of a range and I worry if I do it cell by cell t will take too long to process.
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 37774831
with xlobj
       .range("a2:d10").select
       
end with

or this

with xlobj
       .range("a2:" & chr(64 + intCol) & intRow).select
       
end with
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now