Solved

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

Posted on 2003-12-11
3
1,879 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

631 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