Solved

in excel what is the value of x1No

Posted on 2013-01-02
3
653 Views
Last Modified: 2013-01-03
in a sort
.Header = x1No     (or it can be x1Yes)

does anyone know what value and type are those two?

using the sort in VBA code, if i set a break the check the values both return =empty
this seems mighty strange.

I have a input box that lets the macro user pick the sheet they want, whether there is a header on it, which column to sort and which columns to sum.

I was hoping to set the .Header in the sort with a variable.

gary
0
Comment
Question by:javagair
[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
  • 2
3 Comments
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 500 total points
ID: 38736184
You can get those values from the immediate window:
?xlyes
 1
?xlno
 2
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 38736213
Ah, I see.
The second character is a lower case L, not a digit.
0
 

Author Comment

by:javagair
ID: 38741302
realized that I have typed in a 1 not a l after posting the question.
when you put in the correct letter you do get the answers posted.
it was a long day.

gary
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

728 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