Skip to main content

All Questions

0 votes
2 answers
210 views

How do I format a target cell based on a source cell, using VBA?

I'm looking to copy the format of a cell within the table table1 to cells with matching text within the second table table2. So for instance: NOT(H) is showing as green in table 1 and I want it to ...
Chris98's user avatar
1 vote
0 answers
237 views

Excel VBA Macro: Formatting Duplicates and Uniques

I have a spread sheet where each row consists of information about a member of a group. In each cell of column B there is an integer that represents each person (i.e., think of an member ID). All ...
ccwv4372's user avatar
2 votes
5 answers
2k views

Rotate text without rotating border

I'm attempting to rotate the text inside of a cell without altering the cell border. Roughly the intended result: Current Output: The only solution I've found so far involves adding either splitting ...
Cameron Critchlow's user avatar
0 votes
1 answer
81 views

Excel 2013 fails to record macro correctly

So, i want to create a macro that will set selected cells' format to 0,0 ¥. However, if you record the steps and then try to run the macro it will set format to 0,0 ?. Is there a way to fix this?
Avtem's user avatar
  • 11
0 votes
1 answer
278 views

VBA Error in referencing range of another sheet via the Cells option

I have some subs I use to format data in an Excel file. In particular, I have a sub that I can activate in the sheet("1.Parus") that has the line : Range(Cells(2, 1), Cells(1000, 3)).Interior.Color ...
Anthony Martin's user avatar
1 vote
1 answer
71 views

How to make dependent cells follow decimal formatting of parent cell that changes from time to time?

I need dependent cells in an Excel worksheet to follow the decimal formatting of a parent cell. I've done this with format painter, but my parent cell decimal requirements change from time to time, ...
rmlax's user avatar
  • 11
0 votes
1 answer
102 views

Excel, Return a color depending on two other cells text

I need to do an analysis in Excel and I would like to color a cell depending on the text of two other cells. I have to do it for a quite big table, therefore I need a way to not do it manually for ...
paramo.ai's user avatar
2 votes
2 answers
4k views

Can you make Excel Change Another Cell's Colour When This Cell is Clicked?

I've tried Googeling but found no answers... very frustrated. I'm trying to do this in Excel: Select cells B1 - B5 (or just B1) The select cell A1 (which is yellow in colour) Cells B1 - B5 (or just ...
FrustratedExcelUser's user avatar
0 votes
0 answers
49 views

Formatting dates in Access

I'm embarrassed with a seemingly very simple problem. I have about 7 million of rows in Access, with a date column formatted as numbers. They are the 5 digit type of numbers excel uses when dates are ...
wizlog's user avatar
  • 13.4k
0 votes
1 answer
1k views

How do I insert thousands-separators without affecting significant figures in Excel?

I need to figure out how to add thousands separators to large spreadsheets without affecting the amount of significant figures or the dates that are also in the tables. I can't figure out how to use ...
user611428's user avatar
0 votes
2 answers
96 views

Autosize cell after return of function

I have an xla with a bunch of functions. Basically each of these functions perform a vertical lookup on another worksheet. Here's a basic example of one of them: Function ax2Project_Address(...
Teebs's user avatar
  • 175
1 vote
0 answers
744 views

Format datatable using VBA (values are as Double but String is needed for formatting)

Currently working on a vba script that makes charts automatically. I would like to add a datatable which is done using: .HasDataTable = True However I would like to show the values of series as ...
WhoKnows19's user avatar
0 votes
0 answers
1k views

How to change the colours of sparkline axes individually

I found the following code (in the office docs) which allows me to change the axis colour of a group of sparklines: Sub AxisColor() 'The sparkline group Dim oSparkGroup As SparklineGroup '...
Dan's user avatar
  • 252
3 votes
2 answers
7k views

Excel VBA Function for Value AND Format Lookup

I need a custom function to lookup both a cell value and copy the source format. I have a list of values in two columns. The first is of integers and the second column is the corresponding text ...
BigBrother's user avatar
2 votes
1 answer
2k views

Macro for helping superscript last character of many rows in a single column

I'm adding footnotes (always adding footnotes) to a table and I would really like to be able to automate the repetitive nature of making my symbols superscript. Currently it’s: >enter cell>highlight ...
RocketGoal's user avatar
  • 1,538