Solved

excel VBA: cells().address not return with $

Posted on 2003-12-11
3
1,862 Views
Last Modified: 2011-10-03
cells(1,1).address returns:

$A$1

what is the command that returns:

A1
0
Comment
Question by:yws812
  • 3
3 Comments
 
LVL 81

Expert Comment

by:byundt
ID: 9920591
Hi yws812,
Cells(1,1).Address rowabsolute:=False, columnabsolute:=False

Cheers!

Brad
0
 
LVL 81

Accepted Solution

by:
byundt earned 50 total points
ID: 9920613
yws812,
Dim myAddr as String
myAddr=Cells(1,1).Address(rowabsolute:=False, columnabsolute:=False)
Brad
0
 
LVL 81

Expert Comment

by:byundt
ID: 9920847
yws812,
Thanks for the grade!
Brad
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show you how to use shortcut menus in the Access run-time environment.
My experience with Windows 10 over a one year period and suggestions for smooth operation
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

867 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

15 Experts available now in Live!

Get 1:1 Help Now