Solved

Define Excel Range from Access VBA

Posted on 2012-03-27
3
299 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

895 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