Solved

in excel what is the value of x1No

Posted on 2013-01-02
3
650 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Outlook Free & Paid Tools
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

732 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